Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openjdk #6028

Merged
merged 1 commit into from
Jun 5, 2019
Merged

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 5, 2019

Changes:

Changes:

- docker-library/openjdk@c202745: Merge pull request docker-library/openjdk#332 from infosiftr/ld.conf.d
- docker-library/openjdk@da44a92: Extract files as root and add appropriate "lib" directories to the global libc loading paths
allamand pushed a commit to Orange-OpenSource/cassandra-image that referenced this pull request Jun 5, 2019
…ser than root

This fix may be removed once docker-library/official-images#6028 will be merged

Signed-off-by: sebastien allamand <sebastien.allamand@orange.com>
allamand pushed a commit to Orange-OpenSource/cassandra-image that referenced this pull request Jun 5, 2019
…ser than root

This fix may be removed once docker-library/official-images#6028 will be merged

Signed-off-by: sebastien allamand <sebastien.allamand@orange.com>
@yosifkit
Copy link
Member

yosifkit commented Jun 5, 2019

Diff:
diff --git a/openjdk_11-slim/Dockerfile b/openjdk_11-slim/Dockerfile
index 4926f89..b22a5cf 100644
--- a/openjdk_11-slim/Dockerfile
+++ b/openjdk_11-slim/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -81,6 +86,10 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	javac --version; \
 	java --version
diff --git a/openjdk_11-stretch/Dockerfile b/openjdk_11-stretch/Dockerfile
index c8e6399..414576b 100644
--- a/openjdk_11-stretch/Dockerfile
+++ b/openjdk_11-stretch/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -77,6 +82,10 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	javac --version; \
 	java --version
diff --git a/openjdk_8-jre-slim/Dockerfile b/openjdk_8-jre-slim/Dockerfile
index 6a0a5e3..ff952dd 100644
--- a/openjdk_8-jre-slim/Dockerfile
+++ b/openjdk_8-jre-slim/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -81,5 +86,9 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	java -version
diff --git a/openjdk_8-jre-stretch/Dockerfile b/openjdk_8-jre-stretch/Dockerfile
index fada4dd..6fcb6fc 100644
--- a/openjdk_8-jre-stretch/Dockerfile
+++ b/openjdk_8-jre-stretch/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -77,5 +82,9 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	java -version
diff --git a/openjdk_8-slim/Dockerfile b/openjdk_8-slim/Dockerfile
index d79eee2..5ffba4b 100644
--- a/openjdk_8-slim/Dockerfile
+++ b/openjdk_8-slim/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -81,6 +86,10 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	javac -version; \
 	java -version
diff --git a/openjdk_8-stretch/Dockerfile b/openjdk_8-stretch/Dockerfile
index 7199141..355fb79 100644
--- a/openjdk_8-stretch/Dockerfile
+++ b/openjdk_8-stretch/Dockerfile
@@ -55,7 +55,12 @@ RUN set -eux; \
 	rm -rf "$GNUPGHOME"; \
 	\
 	mkdir -p "$JAVA_HOME"; \
-	tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; \
+	tar --extract \
+		--file openjdk.tgz \
+		--directory "$JAVA_HOME" \
+		--strip-components 1 \
+		--no-same-owner \
+	; \
 	rm openjdk.tgz*; \
 	\
 # TODO strip "demo" and "man" folders?
@@ -77,6 +82,10 @@ RUN set -eux; \
 	chmod +x /etc/ca-certificates/update.d/docker-openjdk; \
 	/etc/ca-certificates/update.d/docker-openjdk; \
 	\
+# https://github.com/docker-library/openjdk/issues/331#issuecomment-498834472
+	find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; \
+	ldconfig; \
+	\
 # basic smoke test
 	javac -version; \
 	java -version

@yosifkit
Copy link
Member

yosifkit commented Jun 5, 2019

Build test of #6028; 531011f; amd64 (openjdk):

$ bashbrew build openjdk:13-ea-23-jdk-oraclelinux7
Using bashbrew/cache:4d445b788ea936fc9adfb891135adb7aed050c1a667003cc973ba1f2ec2f764b (openjdk:13-ea-23-jdk-oraclelinux7)
Tagging openjdk:13-ea-23-jdk-oraclelinux7
Tagging openjdk:13-ea-23-oraclelinux7
Tagging openjdk:13-ea-jdk-oraclelinux7
Tagging openjdk:13-ea-oraclelinux7
Tagging openjdk:13-jdk-oraclelinux7
Tagging openjdk:13-oraclelinux7
Tagging openjdk:13-ea-23-jdk-oracle
Tagging openjdk:13-ea-23-oracle
Tagging openjdk:13-ea-jdk-oracle
Tagging openjdk:13-ea-oracle
Tagging openjdk:13-jdk-oracle
Tagging openjdk:13-oracle
Tagging openjdk:13-ea-23-jdk
Tagging openjdk:13-ea-23
Tagging openjdk:13-ea-jdk
Tagging openjdk:13-ea
Tagging openjdk:13-jdk
Tagging openjdk:13

$ test/run.sh openjdk:13-ea-23-jdk-oraclelinux7
testing openjdk:13-ea-23-jdk-oraclelinux7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'java-hello-world' [5/7]...passed
	'java-uimanager-font' [6/7]...passed
	'java-ca-certificates' [7/7]...passed


$ bashbrew build openjdk:13-ea-19-jdk-alpine3.9
Using bashbrew/cache:e84bc6d111c5a4c720eb55c8e7fd794fb9ceb18d194c9a838448fdfbc72347b8 (openjdk:13-ea-19-jdk-alpine3.9)
Tagging openjdk:13-ea-19-jdk-alpine3.9
Tagging openjdk:13-ea-19-alpine3.9
Tagging openjdk:13-ea-jdk-alpine3.9
Tagging openjdk:13-ea-alpine3.9
Tagging openjdk:13-jdk-alpine3.9
Tagging openjdk:13-alpine3.9
Tagging openjdk:13-ea-19-jdk-alpine
Tagging openjdk:13-ea-19-alpine
Tagging openjdk:13-ea-jdk-alpine
Tagging openjdk:13-ea-alpine
Tagging openjdk:13-jdk-alpine
Tagging openjdk:13-alpine

$ test/run.sh openjdk:13-ea-19-jdk-alpine3.9
testing openjdk:13-ea-19-jdk-alpine3.9
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'java-hello-world' [5/6]...passed
	'java-ca-certificates' [6/6]...passed


$ bashbrew build openjdk:13-ea-23-jdk-windowsservercore-1809
skipping "openjdk:13-ea-23-jdk-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:13-ea-23-jdk-windowsservercore-1809
testing openjdk:13-ea-23-jdk-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build openjdk:13-ea-23-jdk-windowsservercore-1803
skipping "openjdk:13-ea-23-jdk-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:13-ea-23-jdk-windowsservercore-1803
testing openjdk:13-ea-23-jdk-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build openjdk:13-ea-23-jdk-windowsservercore-ltsc2016
skipping "openjdk:13-ea-23-jdk-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:13-ea-23-jdk-windowsservercore-ltsc2016
testing openjdk:13-ea-23-jdk-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build openjdk:12.0.1-jdk-oraclelinux7
Using bashbrew/cache:32376ba7dd649a35188241b7cd31d17bc39e56104d393b6be736e1f4db23d184 (openjdk:12.0.1-jdk-oraclelinux7)
Tagging openjdk:12.0.1-jdk-oraclelinux7
Tagging openjdk:12.0.1-oraclelinux7
Tagging openjdk:12.0-jdk-oraclelinux7
Tagging openjdk:12.0-oraclelinux7
Tagging openjdk:12-jdk-oraclelinux7
Tagging openjdk:12-oraclelinux7
Tagging openjdk:jdk-oraclelinux7
Tagging openjdk:oraclelinux7
Tagging openjdk:12.0.1-jdk-oracle
Tagging openjdk:12.0.1-oracle
Tagging openjdk:12.0-jdk-oracle
Tagging openjdk:12.0-oracle
Tagging openjdk:12-jdk-oracle
Tagging openjdk:12-oracle
Tagging openjdk:jdk-oracle
Tagging openjdk:oracle
Tagging openjdk:12.0.1-jdk
Tagging openjdk:12.0.1
Tagging openjdk:12.0-jdk
Tagging openjdk:12.0
Tagging openjdk:12-jdk
Tagging openjdk:12
Tagging openjdk:jdk
Tagging openjdk:latest

$ test/run.sh openjdk:12.0.1-jdk-oraclelinux7
testing openjdk:12.0.1-jdk-oraclelinux7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'java-hello-world' [5/7]...passed
	'java-uimanager-font' [6/7]...passed
	'java-ca-certificates' [7/7]...passed


$ bashbrew build openjdk:12.0.1-jdk-windowsservercore-1809
skipping "openjdk:12.0.1-jdk-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:12.0.1-jdk-windowsservercore-1809
testing openjdk:12.0.1-jdk-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build openjdk:12.0.1-jdk-windowsservercore-1803
skipping "openjdk:12.0.1-jdk-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:12.0.1-jdk-windowsservercore-1803
testing openjdk:12.0.1-jdk-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build openjdk:12.0.1-jdk-windowsservercore-ltsc2016
skipping "openjdk:12.0.1-jdk-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:12.0.1-jdk-windowsservercore-ltsc2016
testing openjdk:12.0.1-jdk-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build openjdk:11.0.3-jdk-stretch
Building bashbrew/cache:db0511df5e4fd65a25464268615c152c77ea39b095d93936e37173df4f91579a (openjdk:11.0.3-jdk-stretch)
Tagging openjdk:11.0.3-jdk-stretch
Tagging openjdk:11.0.3-stretch
Tagging openjdk:11.0-jdk-stretch
Tagging openjdk:11.0-stretch
Tagging openjdk:11-jdk-stretch
Tagging openjdk:11-stretch
Tagging openjdk:11.0.3-jdk
Tagging openjdk:11.0.3
Tagging openjdk:11.0-jdk
Tagging openjdk:11.0
Tagging openjdk:11-jdk
Tagging openjdk:11

$ test/run.sh openjdk:11.0.3-jdk-stretch
testing openjdk:11.0.3-jdk-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'java-hello-world' [5/7]...passed
	'java-uimanager-font' [6/7]...passed
	'java-ca-certificates' [7/7]...passed


$ bashbrew build openjdk:11.0.3-jdk-slim-stretch
Building bashbrew/cache:24a42cd4cd8319f345586d37c122f39dbed8f7af5a4ef38eeb3c45575f602044 (openjdk:11.0.3-jdk-slim-stretch)
Tagging openjdk:11.0.3-jdk-slim-stretch
Tagging openjdk:11.0.3-slim-stretch
Tagging openjdk:11.0-jdk-slim-stretch
Tagging openjdk:11.0-slim-stretch
Tagging openjdk:11-jdk-slim-stretch
Tagging openjdk:11-slim-stretch
Tagging openjdk:11.0.3-jdk-slim
Tagging openjdk:11.0.3-slim
Tagging openjdk:11.0-jdk-slim
Tagging openjdk:11.0-slim
Tagging openjdk:11-jdk-slim
Tagging openjdk:11-slim

$ test/run.sh openjdk:11.0.3-jdk-slim-stretch
testing openjdk:11.0.3-jdk-slim-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'java-hello-world' [5/6]...passed
	'java-ca-certificates' [6/6]...passed


$ bashbrew build openjdk:11.0.3-jdk-windowsservercore-1809
skipping "openjdk:11.0.3-jdk-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:11.0.3-jdk-windowsservercore-1809
testing openjdk:11.0.3-jdk-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build openjdk:11.0.3-jdk-windowsservercore-1803
skipping "openjdk:11.0.3-jdk-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:11.0.3-jdk-windowsservercore-1803
testing openjdk:11.0.3-jdk-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build openjdk:11.0.3-jdk-windowsservercore-ltsc2016
skipping "openjdk:11.0.3-jdk-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:11.0.3-jdk-windowsservercore-ltsc2016
testing openjdk:11.0.3-jdk-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jdk-stretch
Building bashbrew/cache:11b59a288fd649f27fccb65251babc1826edd7a407eeaa5ef05b73941d90bbcb (openjdk:8u212-b04-jdk-stretch)
Tagging openjdk:8u212-b04-jdk-stretch
Tagging openjdk:8u212-b04-stretch
Tagging openjdk:8u212-jdk-stretch
Tagging openjdk:8u212-stretch
Tagging openjdk:8-jdk-stretch
Tagging openjdk:8-stretch
Tagging openjdk:8u212-b04-jdk
Tagging openjdk:8u212-b04
Tagging openjdk:8u212-jdk
Tagging openjdk:8u212
Tagging openjdk:8-jdk
Tagging openjdk:8

$ test/run.sh openjdk:8u212-b04-jdk-stretch
testing openjdk:8u212-b04-jdk-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'java-hello-world' [5/7]...passed
	'java-uimanager-font' [6/7]...passed
	'java-ca-certificates' [7/7]...passed


$ bashbrew build openjdk:8u212-b04-jdk-slim-stretch
Building bashbrew/cache:c17e7595216db8de6d15a7a9bb21f50fa04191e2d0578f590506f427b14336e4 (openjdk:8u212-b04-jdk-slim-stretch)
Tagging openjdk:8u212-b04-jdk-slim-stretch
Tagging openjdk:8u212-b04-slim-stretch
Tagging openjdk:8u212-jdk-slim-stretch
Tagging openjdk:8u212-slim-stretch
Tagging openjdk:8-jdk-slim-stretch
Tagging openjdk:8-slim-stretch
Tagging openjdk:8u212-b04-jdk-slim
Tagging openjdk:8u212-b04-slim
Tagging openjdk:8u212-jdk-slim
Tagging openjdk:8u212-slim
Tagging openjdk:8-jdk-slim
Tagging openjdk:8-slim

$ test/run.sh openjdk:8u212-b04-jdk-slim-stretch
testing openjdk:8u212-b04-jdk-slim-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'java-hello-world' [5/6]...passed
	'java-ca-certificates' [6/6]...passed


$ bashbrew build openjdk:8u212-b04-jdk-windowsservercore-1809
skipping "openjdk:8u212-b04-jdk-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jdk-windowsservercore-1809
testing openjdk:8u212-b04-jdk-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jdk-windowsservercore-1803
skipping "openjdk:8u212-b04-jdk-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jdk-windowsservercore-1803
testing openjdk:8u212-b04-jdk-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jdk-windowsservercore-ltsc2016
skipping "openjdk:8u212-b04-jdk-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jdk-windowsservercore-ltsc2016
testing openjdk:8u212-b04-jdk-windowsservercore-ltsc2016
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jre-stretch
Building bashbrew/cache:85216da29420f5e889df4e612993786f621b8bcebd065fdea5927c111a0932ca (openjdk:8u212-b04-jre-stretch)
Tagging openjdk:8u212-b04-jre-stretch
Tagging openjdk:8u212-jre-stretch
Tagging openjdk:8-jre-stretch
Tagging openjdk:8u212-b04-jre
Tagging openjdk:8u212-jre
Tagging openjdk:8-jre

$ test/run.sh openjdk:8u212-b04-jre-stretch
testing openjdk:8u212-b04-jre-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'java-hello-world' [5/7]...passed
	'java-uimanager-font' [6/7]...passed
	'java-ca-certificates' [7/7]...passed


$ bashbrew build openjdk:8u212-b04-jre-slim-stretch
Building bashbrew/cache:4c0d82ebc2a707004f75b46ededd3aaa18f18a4f905e3fab4674726ab03cdff2 (openjdk:8u212-b04-jre-slim-stretch)
Tagging openjdk:8u212-b04-jre-slim-stretch
Tagging openjdk:8u212-jre-slim-stretch
Tagging openjdk:8-jre-slim-stretch
Tagging openjdk:8u212-b04-jre-slim
Tagging openjdk:8u212-jre-slim
Tagging openjdk:8-jre-slim

$ test/run.sh openjdk:8u212-b04-jre-slim-stretch
testing openjdk:8u212-b04-jre-slim-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'java-hello-world' [5/6]...passed
	'java-ca-certificates' [6/6]...passed


$ bashbrew build openjdk:8u212-b04-jre-windowsservercore-1809
skipping "openjdk:8u212-b04-jre-windowsservercore-1809" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jre-windowsservercore-1809
testing openjdk:8u212-b04-jre-windowsservercore-1809
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jre-windowsservercore-1803
skipping "openjdk:8u212-b04-jre-windowsservercore-1803" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jre-windowsservercore-1803
testing openjdk:8u212-b04-jre-windowsservercore-1803
	image has no tests...skipping


$ bashbrew build openjdk:8u212-b04-jre-windowsservercore-ltsc2016
skipping "openjdk:8u212-b04-jre-windowsservercore-ltsc2016" (due to architecture "amd64"; only "windows-amd64" supported)

$ test/run.sh openjdk:8u212-b04-jre-windowsservercore-ltsc2016
testing openjdk:8u212-b04-jre-windowsservercore-ltsc2016
	image has no tests...skipping

@yosifkit yosifkit merged commit 5a7a9d1 into docker-library:master Jun 5, 2019
@yosifkit yosifkit deleted the openjdk branch June 5, 2019 22:03
allamand pushed a commit to Orange-OpenSource/cassandra-image that referenced this pull request Jun 6, 2019
- This MR has been accepted docker-library/official-images#6028;
- which resolves this problem docker-library/openjdk#331 (comment);

Signed-off-by: sebastien allamand <sebastien.allamand@orange.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants