-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dockerfile for stretch/nodev8
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | ||
|
@@ -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 | ||
|
||
|