FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java/oracle-java8/Dockerfile at master · yeverwang/java · GitHub
yeverwang
/
java
Public
forked from
dockerfile/java
Notifications
You must be signed in to change notification settings
Fork
0
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
java
/
oracle-java8
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (22 loc) · 672 Bytes
Breadcrumbs
java
/
oracle-java8
/
Dockerfile
Copy path
File metadata and controls
28 lines (22 loc) · 672 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
25
26
27
28
#
#
Oracle Java 8 Dockerfile
#
#
https://github.com/dockerfile/java
#
https://github.com/dockerfile/java/tree/master/oracle-java8
#
#
Pull base image.
FROM
dockerfile/ubuntu
#
Install Java.
RUN
\
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer
#
Define working directory.
WORKDIR
/data
#
Define commonly used JAVA_HOME variable
ENV
JAVA_HOME /usr/lib/jvm/java-8-oracle
#
Define default command.
CMD
[
"bash"
]
Back
|
FazBrowse Home
|
New Git URL