mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-03-22 12:05:53 +00:00
Save space by not installing recommended apt packages
This commit is contained in:
parent
0d0ca4deda
commit
e28eff6eeb
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user