Skip to content

Commit f958c3b

Browse files
committed
update readme and jce related
1 parent bec2c40 commit f958c3b

File tree

11 files changed

+88
-61
lines changed

11 files changed

+88
-61
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

jdk/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

jdk_unlimited/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,4 @@ MAINTAINER SgrAlpha <admin@mail.sgr.io>
33

44
ENV DEBIAN_FRONTEND noninteractive
55

6-
RUN apt-get update && \
7-
apt-get install unzip -y --no-install-recommends && \
8-
curl --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem \
9-
--header "Cookie: oraclelicense=accept-securebackup-cookie;" \
10-
http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip \
11-
-o /tmp/jce_policy-8.zip && \
12-
unzip /tmp/jce_policy-8.zip -d /tmp && \
13-
cp -v /tmp/UnlimitedJCEPolicyJDK8/*.jar "${JRE_HOME}"/lib/security/ && \
14-
apt-get remove --purge --auto-remove -y unzip && \
15-
apt-get autoclean && apt-get --purge -y autoremove && \
16-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6+
RUN sed -i 's/#crypto.policy=unlimited/crypto.policy=unlimited/g' "${JRE_HOME}"/lib/security/java.security

jdk_unlimited/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

jre/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

jre_unlimited/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,4 @@ MAINTAINER SgrAlpha <admin@mail.sgr.io>
33

44
ENV DEBIAN_FRONTEND noninteractive
55

6-
RUN apt-get update && \
7-
apt-get install unzip -y --no-install-recommends && \
8-
curl --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem \
9-
--header "Cookie: oraclelicense=accept-securebackup-cookie;" \
10-
http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip \
11-
-o /tmp/jce_policy-8.zip && \
12-
unzip /tmp/jce_policy-8.zip -d /tmp && \
13-
cp -v /tmp/UnlimitedJCEPolicyJDK8/*.jar "${JRE_HOME}"/lib/security/ && \
14-
apt-get remove --purge --auto-remove -y unzip && \
15-
apt-get autoclean && apt-get --purge -y autoremove && \
16-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6+
RUN sed -i 's/#crypto.policy=unlimited/crypto.policy=unlimited/g' "${JRE_HOME}"/lib/security/java.security

jre_unlimited/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

server_jre/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Docker images of Java 7/8 provided by Oracle on top of Ubuntu
1+
## Docker images of Java 7/8/9 provided by Oracle on top of Ubuntu
22

33
This repository contains **Dockerfile** of [Java SE](http://java.oracle.com/) for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sgrio/java-oracle/) published to the public [Docker Hub](https://hub.docker.com/).
44

@@ -9,7 +9,12 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
99
`sgrio/java-oracle` provides several tagged images:
1010

1111
* Default
12-
* `latest`: pointed to `sgrio/java-oracle:server_jre_8_unlimited`
12+
* `latest`: pointed to `sgrio/java-oracle:server_jre_9`
13+
14+
* Java 9
15+
* `server_jre_9`: based on `Oracle Java SE Server Runtime Environment 9.0.1+11`
16+
* `jre_9`: based on `Oracle Java SE Runtime Environment 9.0.1+11`
17+
* `jdk_9`: based on `Oracle Java SE Development Kit 9.0.1+11`
1318

1419
* Java 8
1520
* `server_jre_8`: based on `Oracle Java SE Server Runtime Environment 8 update 152 build 16`
@@ -18,11 +23,14 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
1823

1924
* Java 7
2025
* `server_jre_7`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15`
26+
* `server_jre_7_unlimited`: based on `Oracle Java SE Server Runtime Environment 7 update 80 build 15` with JCE
2127
* `jre_7`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15`
28+
* `jre_7_unlimited`: based on `Oracle Java SE Runtime Environment 7 update 80 build 15` with JCE
2229
* `jdk_7`: based on `Oracle Java SE Development Kit 7 update 80 build 15`
30+
* `jdk_7_unlimited`: based on `Oracle Java SE Development Kit 7 update 80 build 15` with JCE
2331

2432
* Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
25-
You can always apply tailing `_unlimited` to any of the tags above if you want a patched version, for example `server_jre_8_unlimited`.
33+
This is enabled by defualt in Java 9, and Java 8 updates later than 162.
2634

2735
### Installation
2836

@@ -32,4 +40,4 @@ To use this image, you must accept the [Oracle Binary Code License Agreement](ht
3240

3341
### Usage
3442

35-
docker run -it --rm sgrio/java-oracle java -version
43+
docker run -it --rm sgrio/java-oracle java -version

server_jre_unlimited/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,4 @@ MAINTAINER SgrAlpha <admin@mail.sgr.io>
33

44
ENV DEBIAN_FRONTEND noninteractive
55

6-
RUN apt-get update && \
7-
apt-get install unzip -y --no-install-recommends && \
8-
curl --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem \
9-
--header "Cookie: oraclelicense=accept-securebackup-cookie;" \
10-
http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip \
11-
-o /tmp/jce_policy-8.zip && \
12-
unzip /tmp/jce_policy-8.zip -d /tmp && \
13-
cp -v /tmp/UnlimitedJCEPolicyJDK8/*.jar "${JRE_HOME}"/lib/security/ && \
14-
apt-get remove --purge --auto-remove -y unzip && \
15-
apt-get autoclean && apt-get --purge -y autoremove && \
16-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6+
RUN sed -i 's/#crypto.policy=unlimited/crypto.policy=unlimited/g' "${JRE_HOME}"/lib/security/java.security

0 commit comments

Comments
 (0)