Save space by not installing recommended apt packages

This commit is contained in:
Pagan Gazzard 2015-02-20 13:31:26 +00:00 committed by Pablo Carranza Vélez
parent 0d0ca4deda
commit e28eff6eeb
3 changed files with 7 additions and 7 deletions

View File

@ -2,20 +2,20 @@ FROM resin/i386-debian:jessie
# Nodejs
RUN apt-get update \
&& apt-get install -y curl git unzip wget npm nodejs inetutils-ping \
&& apt-get install -y curl git unzip wget npm nodejs inetutils-ping --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
RUN ln -sf /usr/bin/nodejs /usr/bin/node
# Supervisor apt dependencies
RUN apt-get -q update \
&& apt-get install -qqy socat supervisor \
&& apt-get install -qqy socat supervisor --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
# Compile time dependencies
RUN apt-get -q update \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/

View File

@ -2,13 +2,13 @@ FROM resin/rpi-node:0.10.36-slim
# Supervisor apt dependencies
RUN apt-get -q update \
&& apt-get install -qqy socat supervisor \
&& apt-get install -qqy socat supervisor --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
# Compile time dependencies
RUN apt-get -q update \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/

View File

@ -2,13 +2,13 @@ FROM node:0.10.36-slim
# Supervisor apt dependencies
RUN apt-get -q update \
&& apt-get install -qqy socat supervisor \
&& apt-get install -qqy socat supervisor --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
# Compile time dependencies
RUN apt-get -q update \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client \
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/