Skip to content

Commit 3925688

Browse files
electrocucarachapull[bot]
authored andcommitted
Implement Docker best practices on efr32 image (#10033)
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]>
1 parent 33e0b16 commit 3925688

File tree

1 file changed

+7
-7
lines changed
  • integrations/docker/images/chip-build-efr32

1 file changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG VERSION=latest
22
FROM connectedhomeip/chip-build:${VERSION}
33

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

0 commit comments

Comments
 (0)