move package installations to dockerfiles

This commit is contained in:
Aleksis Brezas 2014-09-18 16:31:52 +00:00 committed by Pablo Carranza Vélez
parent 7f38248cfa
commit 712647b69e
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,6 @@
FROM resin/supervisor-base:latest FROM resin/supervisor-base:latest
RUN apt-get -q update
RUN apt-get install -qqy openvpn libsqlite3-dev socat
ADD . /app ADD . /app
RUN /build/builder RUN /build/builder
RUN apt-get clean RUN apt-get clean

View File

@ -1,5 +1,8 @@
FROM dockerfile/nodejs FROM dockerfile/nodejs
RUN apt-get -q update
RUN apt-get install -qqy openvpn libsqlite3-dev socat
ADD . /app ADD . /app
WORKDIR /app WORKDIR /app

View File

@ -8,7 +8,3 @@ if [ $NODE_ENV == 'production' ]; then
chmod 400 /root/.ssh/id_rsa chmod 400 /root/.ssh/id_rsa
cp ssh_config /root/.ssh/config cp ssh_config /root/.ssh/config
fi fi
# System dependencies
apt-get -q update
apt-get install -qqy openvpn libsqlite3-dev socat