Change i386 Dockerfile to use debian Jessie instead

This commit is contained in:
Praneeth Bodduluri 2015-02-18 22:07:57 +01:00 committed by Pablo Carranza Vélez
parent 16dea4efcc
commit 5b7fa87cd6

View File

@ -1,7 +1,7 @@
FROM resin/i386-ubuntu:14.04
FROM resin/i386-debian:jessie
# Install.
RUN apt-get update && apt-get install -y curl git unzip wget npm nodejs inetutils-ping libsqlite3-dev socat supervisor
RUN apt-get update && apt-get install -y curl git unzip wget npm nodejs inetutils-ping libsqlite3-dev socat supervisor && apt-get clean && rm -rf /var/lib/apt/lists/
RUN ln -sf /usr/bin/nodejs /usr/bin/node
ADD . /app
@ -17,6 +17,4 @@ RUN npm install --unsafe-perm --production
RUN ln -sf /app/entry.sh /start
RUN apt-get clean
CMD ["/app/entry.sh"]