Skip to content

Commit

Permalink
Merge pull request #59 from gebart/pr/norecommends
Browse files Browse the repository at this point in the history
apt: Use --no-install-recommends to avoid unnecessary extras
  • Loading branch information
jnohlgard authored Nov 20, 2018
2 parents e608ba2 + 9d44f26 commit d12a6e2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ RUN \
echo 'Upgrading all system packages to the latest available versions' >&2 && \
apt-get update && apt-get -y dist-upgrade \
&& echo 'Installing native toolchain and build system functionality' >&2 && \
apt-get -y install \
apt-get -y --no-install-recommends install \
automake \
bsdmainutils \
build-essential \
ca-certificates \
ccache \
coccinelle \
curl \
Expand All @@ -50,6 +51,7 @@ RUN \
g++-multilib \
git \
graphviz \
less \
libpcre3 \
libtool \
m4 \
Expand All @@ -64,25 +66,28 @@ RUN \
python3-flake8 \
python-serial \
p7zip \
rsync \
ssh-client \
subversion \
unzip \
vim-common \
wget \
xsltproc \
&& echo 'Installing MSP430 toolchain' >&2 && \
apt-get -y install \
apt-get -y --no-install-recommends install \
gcc-msp430 \
msp430-libc \
&& echo 'Installing AVR toolchain' >&2 && \
apt-get -y install \
apt-get -y --no-install-recommends install \
gcc-avr \
binutils-avr \
avr-libc \
&& echo 'Installing LLVM/Clang toolchain' >&2 && \
apt-get -y install \
apt-get -y --no-install-recommends install \
llvm \
clang \
&& echo 'Installing socketCAN' >&2 && \
apt-get -y install \
apt-get -y --no-install-recommends install \
libsocketcan-dev:i386 \
libsocketcan2:i386 \
&& echo 'Cleaning up installation files' >&2 && \
Expand Down Expand Up @@ -145,7 +150,7 @@ RUN gcc -DHOMEDIR=\"/data/riotbuild\" -DUSERNAME=\"riotbuild\" /tmp/create_user.
&& chmod u=rws,g=x,o=- /usr/local/bin/create_user \
&& rm /tmp/create_user.c

# Install complete ESP8266 toolchain in /opt/esp (146 MB after cleanup)
# Install complete ESP8266 toolchain in /opt/esp (146 MB after cleanup)
RUN echo 'Installing ESP8266 toolchain' >&2 && \
cd /opt && \
git clone https://github.com/gschorcht/RIOT-Xtensa-ESP8266-toolchain.git esp && \
Expand Down

0 comments on commit d12a6e2

Please sign in to comment.