From 2664bc26910855c08d79506f7203dbf80083cabe Mon Sep 17 00:00:00 2001 From: Surya Narkedimilli Date: Mon, 18 Oct 2021 06:36:33 -0700 Subject: [PATCH] Copying the LICENSE file to new folder for UBI --- 11/jdk/ubi/Dockerfile.open.releases.full | 2 ++ 1 file changed, 2 insertions(+) diff --git a/11/jdk/ubi/Dockerfile.open.releases.full b/11/jdk/ubi/Dockerfile.open.releases.full index bcfb5c274..6d2b058ea 100644 --- a/11/jdk/ubi/Dockerfile.open.releases.full +++ b/11/jdk/ubi/Dockerfile.open.releases.full @@ -55,6 +55,8 @@ RUN set -eux; \ mkdir -p /opt/java/openjdk; \ cd /opt/java/openjdk; \ tar -xf /tmp/openjdk.tar.gz --strip-components=1; \ + mkdir -p /licenses; \ + cp /opt/java/openjdk/legal/java.base/LICENSE /licenses; \ rm -rf /tmp/openjdk.tar.gz; ENV JAVA_HOME=/opt/java/openjdk \