Skip to content

Commit

Permalink
Implement Docker best practices on efr32 image (#10033)
Browse files Browse the repository at this point in the history
Some of these best practices are:
* Pin versions
* Avoid additional packages installation
* Clean all missing after apt command

Signed-off-by: Victor Morales <[email protected]>
  • Loading branch information
electrocucaracha authored and pull[bot] committed Nov 4, 2021
1 parent 7239d15 commit 1133260
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions integrations/docker/images/chip-build-efr32/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG VERSION=latest
FROM connectedhomeip/chip-build:${VERSION}




# GNU ARM Embedded toolchain, cross compiler for various platform builds
RUN set -x \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
ccache
&& DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
gcc-arm-none-eabi=15:9-2019-q4-0ubuntu1 \
binutils-arm-none-eabi=2.34-4ubuntu1+13ubuntu1 \
ccache=3.7.7-1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& : # last line

0 comments on commit 1133260

Please sign in to comment.