FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-java/docker/Dockerfile at master · GenaroNetwork/node-java · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
GenaroNetwork
/
node-java
Public
forked from
joeferner/node-java
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
node-java
/
docker
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (20 loc) · 900 Bytes
Breadcrumbs
node-java
/
docker
/
Dockerfile
Copy path
File metadata and controls
24 lines (20 loc) · 900 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM
ubuntu:16.04
RUN
apt-get update -y
RUN
apt-get install -y curl wget tar git python build-essential
#
Java
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.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-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
Back
|
FazBrowse Home
|
New Git URL