-
Notifications
You must be signed in to change notification settings - Fork 31
Update and cleanup docker files #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
20dd9eb
Added docker `--security-opt seccomp=unconfined` parameter as default
minosgalanakis 97b3ba3
Set ubuntu-16.04 Dockerfile as baseline for ubuntu-18.04 alignment
minosgalanakis 9d8894f
Updated ARMLMD_LICENSE_FILE environment variable
minosgalanakis ced6663
Updated ubuntu-18.04 Dockerfile for abi-dumper, abi-compliance-checker
minosgalanakis d61658c
Updated ubuntu-18.04 Dockerfile to remove the workaround for GnuTLS 3.7
minosgalanakis 0f0e47d
Updated ubuntu-18.04 Dockerfile to use latest pip/setuptools
minosgalanakis 5c49542
Added ubuntu-20.04 Dockerfile
minosgalanakis 7e74103
Updated dockerfile_builder to incude 20.04 image
minosgalanakis c0bf392
Updated ubuntu-18.04/20.04 Dockerfiles
minosgalanakis 58938a3
Ammended the removal of a valid comment from ubuntu-18.04 Dockerfile
minosgalanakis 45a5fce
Updated ubuntu-20.04 Dockerfile
minosgalanakis ef1f053
Removed mypy and pylint dependencies
minosgalanakis 74ea266
Revert "Added docker `--security-opt seccomp=unconfined` parameter as…
minosgalanakis 36b60be
Dockerfiles: Set the HOME to /var/lib/ws
minosgalanakis a15b48d
Dockerfiles: Set the HOME to /var/lib/builds
minosgalanakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # ubuntu-16.04/Dockerfile | ||
| # | ||
| # Copyright (c) 2018-2021, ARM Limited, All Rights Reserved | ||
| # Copyright (c) 2018-2022, ARM Limited, All Rights Reserved | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
|
|
@@ -28,6 +28,10 @@ FROM ubuntu:16.04 | |
| ARG DEBIAN_FRONTEND=noninteractive | ||
| WORKDIR /opt/src | ||
|
|
||
| # Note: scripts/min_requirements.py need a writable | ||
| # destination for installing python dependencies | ||
| ENV HOME=/var/lib/ws | ||
|
|
||
| # Support for i386: | ||
| # - for 32-bit builds+tests of Mbed TLS | ||
| # - required to install Arm Compiler 5.06 (armcc) | ||
|
|
@@ -117,7 +121,7 @@ RUN wget -q https://developer.arm.com/-/media/Files/downloads/compiler/DS500-PA- | |
|
|
||
| ENV ARMC5_BIN_DIR=/usr/local/ARM_Compiler_5.06u3/bin/ | ||
| ENV PATH=$PATH:/usr/local/ARM_Compiler_5.06u3/bin | ||
| ENV ARMLMD_LICENSE_FILE=[email protected] | ||
| ENV ARMLMD_LICENSE_FILE=[email protected]:[email protected]:[email protected]:[email protected] | ||
|
|
||
| # Install ARM Compiler 6.6 | ||
| RUN mkdir temp && cd temp && \ | ||
|
|
@@ -254,12 +258,6 @@ RUN git clone --branch 1.1 https://github.com/lvc/abi-dumper.git && \ | |
| RUN python3 -m pip install 'pip<21' --upgrade | cat && \ | ||
| python3 -m pip config set global.progress_bar off && \ | ||
| python3 -m pip install setuptools --upgrade && \ | ||
| # For pylint we want a known version, as later versions may add checks at | ||
| # any time, making CI results unpredictable. | ||
| python3 -m pip install pylint==2.4.4 && \ | ||
| # For mypy, use the earliest version that works with our code base. | ||
| # See https://github.com/ARMmbed/mbedtls/pull/3953 . | ||
| python3 -m pip install mypy==0.780 && \ | ||
| true | ||
|
|
||
| # Set locale for ARMCC to work | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/var/lib/wsdoesn't exist by default, and it's a directory outside the Docker image./var/lib/buildsis the one that's created by default and owned byuser. So I thinkHOMEshould be set to that instead. Sorry, I wasn't thinking properly when I suggested/var/lib/ws.