Skip to content

Commit

Permalink
updated dockerfile for stretch/nodev8
Browse files Browse the repository at this point in the history
  • Loading branch information
hexparrot committed Jun 1, 2018
1 parent f6bc23f commit 50e3f4c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM debian:jessie
FROM debian:stretch
MAINTAINER William Dizon <[email protected]>

#add testing repository for OpenJDK8
RUN echo "deb http://http.debian.net/debian jessie-backports main" >> /etc/apt/sources.list

#update and accept all prompts
RUN apt-get update && apt-get install -y \
supervisor \
Expand All @@ -13,11 +10,12 @@ RUN apt-get update && apt-get install -y \
git \
curl \
rlwrap \
&& apt-get install -y -t jessie-backports openjdk-8-jre-headless ca-certificates-java \
default-jre-headless \
ca-certificates-java \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

#install node from nodesource
RUN curl https://deb.nodesource.com/node_4.x/pool/main/n/nodejs/nodejs_4.6.2-1nodesource1~jessie1_amd64.deb > node.deb \
RUN curl https://deb.nodesource.com/node_8.x/pool/main/n/nodejs/nodejs_8.9.4-1nodesource1_amd64.deb > node.deb \
&& dpkg -i node.deb \
&& rm node.deb

Expand Down

0 comments on commit 50e3f4c

Please sign in to comment.