Skip to content

Commit

Permalink
fixed docker file to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
graykode authored and joeferner committed Feb 25, 2019
1 parent b81ac04 commit 2e6ce52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu
FROM ubuntu:16.04

RUN apt-get update -y
RUN apt-get install -y curl wget tar git python build-essential
Expand All @@ -8,17 +8,17 @@ RUN \
wget --continue --no-check-certificate -O /opt/jdk-8u191-linux-x64.tar.gz --header "Cookie: oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz \
&& tar -xzf /opt/jdk-8u191-linux-x64.tar.gz -C /opt \
&& rm /opt/jdk-8u191-linux-x64.tar.gz \
&& ln -s /opt/jdk1.8.1_91 /opt/jdk
&& ln -s /opt/jdk1.8.0_191 /opt/jdk
ENV PATH $PATH:/opt/jdk/bin
ENV JAVA_HOME /opt/jdk
ENV _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true

# Node
RUN \
wget -O /opt/node-v11.2.0-linux-x64.tar.gz http://nodejs.org/dist/latest/node-v11.2.0-linux-arm64.tar.gz \
wget -O /opt/node-v11.2.0-linux-x64.tar.gz http://nodejs.org/dist/latest/node-v11.2.0-linux-x64.tar.gz \
&& tar -xzf /opt/node-v11.2.0-linux-x64.tar.gz -C /opt \
&& rm /opt/node-v11.2.0-linux-x64.tar.gz \
&& ln -s /opt/node-v11.2.0-linux-x64 /opt/node
ENV PATH $PATH:/opt/node/bin

ENV USER=root
ENV USER=root

0 comments on commit 2e6ce52

Please sign in to comment.