From 1ebb53c519551a0f16407f72c806c947f356e17b Mon Sep 17 00:00:00 2001 From: Dinakar Guniguntala Date: Tue, 5 Dec 2017 11:26:35 +0530 Subject: [PATCH] Remove all arch specific dockerfiles and related update.sh script. --- ibmjava/8/jre/i386/ubuntu/Dockerfile | 50 --- ibmjava/8/jre/ppc64le/ubuntu/Dockerfile | 50 --- ibmjava/8/jre/s390/ubuntu/Dockerfile | 50 --- ibmjava/8/jre/s390x/ubuntu/Dockerfile | 50 --- ibmjava/8/jre/x86_64/alpine/Dockerfile | 58 --- ibmjava/8/jre/x86_64/ubuntu/Dockerfile | 50 --- ibmjava/8/sdk/i386/ubuntu/Dockerfile | 50 --- ibmjava/8/sdk/ppc64le/ubuntu/Dockerfile | 50 --- ibmjava/8/sdk/s390/ubuntu/Dockerfile | 50 --- ibmjava/8/sdk/s390x/ubuntu/Dockerfile | 50 --- ibmjava/8/sdk/x86_64/alpine/Dockerfile | 58 --- ibmjava/8/sdk/x86_64/ubuntu/Dockerfile | 50 --- ibmjava/8/sfj/i386/ubuntu/Dockerfile | 50 --- ibmjava/8/sfj/ppc64le/ubuntu/Dockerfile | 50 --- ibmjava/8/sfj/s390/ubuntu/Dockerfile | 50 --- ibmjava/8/sfj/s390x/ubuntu/Dockerfile | 50 --- ibmjava/8/sfj/x86_64/alpine/Dockerfile | 58 --- ibmjava/8/sfj/x86_64/ubuntu/Dockerfile | 50 --- ibmjava/9/jre/i386/ubuntu/Dockerfile | 54 --- ibmjava/9/jre/ppc64le/ubuntu/Dockerfile | 54 --- ibmjava/9/jre/s390/ubuntu/Dockerfile | 54 --- ibmjava/9/jre/s390x/ubuntu/Dockerfile | 54 --- ibmjava/9/jre/x86_64/alpine/Dockerfile | 62 --- ibmjava/9/jre/x86_64/ubuntu/Dockerfile | 54 --- ibmjava/9/sdk/i386/ubuntu/Dockerfile | 50 --- ibmjava/9/sdk/ppc64le/ubuntu/Dockerfile | 50 --- ibmjava/9/sdk/s390/ubuntu/Dockerfile | 50 --- ibmjava/9/sdk/s390x/ubuntu/Dockerfile | 50 --- ibmjava/9/sdk/x86_64/alpine/Dockerfile | 58 --- ibmjava/9/sdk/x86_64/ubuntu/Dockerfile | 50 --- ibmjava/9/sfj/i386/ubuntu/Dockerfile | 56 --- ibmjava/9/sfj/i386/ubuntu/sfj-exclude.txt | 29 -- ibmjava/9/sfj/ppc64le/ubuntu/Dockerfile | 56 --- ibmjava/9/sfj/ppc64le/ubuntu/sfj-exclude.txt | 29 -- ibmjava/9/sfj/s390/ubuntu/Dockerfile | 56 --- ibmjava/9/sfj/s390/ubuntu/sfj-exclude.txt | 29 -- ibmjava/9/sfj/s390x/ubuntu/Dockerfile | 56 --- ibmjava/9/sfj/s390x/ubuntu/sfj-exclude.txt | 29 -- ibmjava/9/sfj/x86_64/alpine/Dockerfile | 64 --- ibmjava/9/sfj/x86_64/alpine/sfj-exclude.txt | 29 -- ibmjava/9/sfj/x86_64/ubuntu/Dockerfile | 56 --- ibmjava/9/sfj/x86_64/ubuntu/sfj-exclude.txt | 29 -- ibmjava/update-multiarch.sh | 403 ------------------- ibmjava/update.sh | 336 ++++++++-------- 44 files changed, 171 insertions(+), 2650 deletions(-) delete mode 100644 ibmjava/8/jre/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/8/jre/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/8/jre/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/8/jre/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/8/jre/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/8/jre/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sdk/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sdk/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sdk/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sdk/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sdk/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/8/sdk/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sfj/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sfj/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sfj/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sfj/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/8/sfj/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/8/sfj/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/9/jre/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/9/jre/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/9/jre/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/9/jre/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/9/jre/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/9/jre/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sdk/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sdk/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sdk/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sdk/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sdk/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/9/sdk/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/i386/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/i386/ubuntu/sfj-exclude.txt delete mode 100644 ibmjava/9/sfj/ppc64le/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/ppc64le/ubuntu/sfj-exclude.txt delete mode 100644 ibmjava/9/sfj/s390/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/s390/ubuntu/sfj-exclude.txt delete mode 100644 ibmjava/9/sfj/s390x/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/s390x/ubuntu/sfj-exclude.txt delete mode 100644 ibmjava/9/sfj/x86_64/alpine/Dockerfile delete mode 100644 ibmjava/9/sfj/x86_64/alpine/sfj-exclude.txt delete mode 100644 ibmjava/9/sfj/x86_64/ubuntu/Dockerfile delete mode 100644 ibmjava/9/sfj/x86_64/ubuntu/sfj-exclude.txt delete mode 100755 ibmjava/update-multiarch.sh diff --git a/ibmjava/8/jre/i386/ubuntu/Dockerfile b/ibmjava/8/jre/i386/ubuntu/Dockerfile deleted file mode 100644 index 889575f..0000000 --- a/ibmjava/8/jre/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="da06a3df4c7ac7e29d9c92f8217e3dc1446c3b76194a99ab3dfb57dd3bcc55cf" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/jre/ppc64le/ubuntu/Dockerfile b/ibmjava/8/jre/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index ccb56f8..0000000 --- a/ibmjava/8/jre/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="28b3d31b7b9c13dfbd852b11ea06e6a7bf001baa18a68d0869788234dab3dc44" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/jre/s390/ubuntu/Dockerfile b/ibmjava/8/jre/s390/ubuntu/Dockerfile deleted file mode 100644 index 5986315..0000000 --- a/ibmjava/8/jre/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="8e817b4b1950415636b77c00b14795ec9b87d5c225c4897e05c378f6e45615a1" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/jre/s390x/ubuntu/Dockerfile b/ibmjava/8/jre/s390x/ubuntu/Dockerfile deleted file mode 100644 index 192883a..0000000 --- a/ibmjava/8/jre/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="a14607e866f08ea19f8a5b571464968a12907369dc68f283c8e0bf1771ffb6ff" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/jre/x86_64/alpine/Dockerfile b/ibmjava/8/jre/x86_64/alpine/Dockerfile deleted file mode 100644 index 489afc9..0000000 --- a/ibmjava/8/jre/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="b8205bd5700813ef17141a0a7b476846842d86f2b0a7a5fd5176c1edd5dcbe1c" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/jre/x86_64/ubuntu/Dockerfile b/ibmjava/8/jre/x86_64/ubuntu/Dockerfile deleted file mode 100644 index 9020716..0000000 --- a/ibmjava/8/jre/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="b8205bd5700813ef17141a0a7b476846842d86f2b0a7a5fd5176c1edd5dcbe1c" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="jre/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sdk/i386/ubuntu/Dockerfile b/ibmjava/8/sdk/i386/ubuntu/Dockerfile deleted file mode 100644 index 6aca4c3..0000000 --- a/ibmjava/8/sdk/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="fc3180000ee745ba11fbcb8c0eda837ccf34830de652c3747682174980c0a466" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sdk/ppc64le/ubuntu/Dockerfile b/ibmjava/8/sdk/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index 34207c4..0000000 --- a/ibmjava/8/sdk/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="bf39ce59310f477d8864134b5d1e8c090ea41a5421c17b6b0eaf5350fdc097bf" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sdk/s390/ubuntu/Dockerfile b/ibmjava/8/sdk/s390/ubuntu/Dockerfile deleted file mode 100644 index 1fe3a60..0000000 --- a/ibmjava/8/sdk/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="7056455a52d8f753e435d3994ca87c22c496d19d4a06634ba57e4ffc50d0c722" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sdk/s390x/ubuntu/Dockerfile b/ibmjava/8/sdk/s390x/ubuntu/Dockerfile deleted file mode 100644 index ec7f023..0000000 --- a/ibmjava/8/sdk/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="89dc14c0bb8199463396f3f71a168e43d61550c7821acee50ec8c3f6ed60a83f" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sdk/x86_64/alpine/Dockerfile b/ibmjava/8/sdk/x86_64/alpine/Dockerfile deleted file mode 100644 index 6f9f482..0000000 --- a/ibmjava/8/sdk/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="0550e9e44b50ec77cd8774f99051b910816daf3cf275c05438994314ff61d7ee" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sdk/x86_64/ubuntu/Dockerfile b/ibmjava/8/sdk/x86_64/ubuntu/Dockerfile deleted file mode 100644 index 8016eaf..0000000 --- a/ibmjava/8/sdk/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="0550e9e44b50ec77cd8774f99051b910816daf3cf275c05438994314ff61d7ee" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/8/sfj/i386/ubuntu/Dockerfile b/ibmjava/8/sfj/i386/ubuntu/Dockerfile deleted file mode 100644 index f526e3a..0000000 --- a/ibmjava/8/sfj/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="d0ff0812eba0dfee8639f11403cf56d9dd16a977a137ecdb7c057459ea943eb2" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sfj/ppc64le/ubuntu/Dockerfile b/ibmjava/8/sfj/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index aa189c1..0000000 --- a/ibmjava/8/sfj/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="f876c556da07575891af0eeb9dc2dc31c718a1614fbdd45aa2e5338f3202f991" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sfj/s390/ubuntu/Dockerfile b/ibmjava/8/sfj/s390/ubuntu/Dockerfile deleted file mode 100644 index 9e01de3..0000000 --- a/ibmjava/8/sfj/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="6eb97bc4f807252699b7f3fd578290d6c693e0f8a0e1ea76be898d2929567d21" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sfj/s390x/ubuntu/Dockerfile b/ibmjava/8/sfj/s390x/ubuntu/Dockerfile deleted file mode 100644 index b0a046d..0000000 --- a/ibmjava/8/sfj/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="2c729648d8a2b3021d30ee2343d70bd3aa855df2a07e6b0e081ff25ed280b010" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sfj/x86_64/alpine/Dockerfile b/ibmjava/8/sfj/x86_64/alpine/Dockerfile deleted file mode 100644 index c94fb7d..0000000 --- a/ibmjava/8/sfj/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="4fcd64915fb9dec9e60d5aaaf07958db583312fc86eb95ae3336b5c22cf73a4d" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/8/sfj/x86_64/ubuntu/Dockerfile b/ibmjava/8/sfj/x86_64/ubuntu/Dockerfile deleted file mode 100644 index d17b805..0000000 --- a/ibmjava/8/sfj/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.8.0_sr4fp11 - -RUN ESUM="4fcd64915fb9dec9e60d5aaaf07958db583312fc86eb95ae3336b5c22cf73a4d" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sfj/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/i386/ubuntu/Dockerfile b/ibmjava/9/jre/i386/ubuntu/Dockerfile deleted file mode 100644 index 39a8d92..0000000 --- a/ibmjava/9/jre/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="5add39cc5ca56b97cf8ce71b9e1a15d19d36864aaed1e0296f50355ba3f34bd5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/ppc64le/ubuntu/Dockerfile b/ibmjava/9/jre/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index 0a7cf30..0000000 --- a/ibmjava/9/jre/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="3c0dda9f449a667d12fe5f59a1ec059a90a9dc483fd35eef5ff53dd8b096cdf5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/s390/ubuntu/Dockerfile b/ibmjava/9/jre/s390/ubuntu/Dockerfile deleted file mode 100644 index fbc42fd..0000000 --- a/ibmjava/9/jre/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="8d06af57d8236839f5c403c12dcf4c89e22dd91716a4d26b85c8d92f6d1e2e8b" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/s390x/ubuntu/Dockerfile b/ibmjava/9/jre/s390x/ubuntu/Dockerfile deleted file mode 100644 index 7efe180..0000000 --- a/ibmjava/9/jre/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="6e823afa1df83e364381f827f4244bfe29b0ddd58ef0203eb60df9b8c0d123af" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/x86_64/alpine/Dockerfile b/ibmjava/9/jre/x86_64/alpine/Dockerfile deleted file mode 100644 index 63aede7..0000000 --- a/ibmjava/9/jre/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/jre/x86_64/ubuntu/Dockerfile b/ibmjava/9/jre/x86_64/ubuntu/Dockerfile deleted file mode 100644 index a6ed826..0000000 --- a/ibmjava/9/jre/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,54 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \ - && rm -rf java/* \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sdk/i386/ubuntu/Dockerfile b/ibmjava/9/sdk/i386/ubuntu/Dockerfile deleted file mode 100644 index 1f930ab..0000000 --- a/ibmjava/9/sdk/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="5add39cc5ca56b97cf8ce71b9e1a15d19d36864aaed1e0296f50355ba3f34bd5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sdk/ppc64le/ubuntu/Dockerfile b/ibmjava/9/sdk/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index 1509a3e..0000000 --- a/ibmjava/9/sdk/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="3c0dda9f449a667d12fe5f59a1ec059a90a9dc483fd35eef5ff53dd8b096cdf5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sdk/s390/ubuntu/Dockerfile b/ibmjava/9/sdk/s390/ubuntu/Dockerfile deleted file mode 100644 index e239bb9..0000000 --- a/ibmjava/9/sdk/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="8d06af57d8236839f5c403c12dcf4c89e22dd91716a4d26b85c8d92f6d1e2e8b" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sdk/s390x/ubuntu/Dockerfile b/ibmjava/9/sdk/s390x/ubuntu/Dockerfile deleted file mode 100644 index 7838a52..0000000 --- a/ibmjava/9/sdk/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="6e823afa1df83e364381f827f4244bfe29b0ddd58ef0203eb60df9b8c0d123af" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sdk/x86_64/alpine/Dockerfile b/ibmjava/9/sdk/x86_64/alpine/Dockerfile deleted file mode 100644 index 839bac0..0000000 --- a/ibmjava/9/sdk/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sdk/x86_64/ubuntu/Dockerfile b/ibmjava/9/sdk/x86_64/ubuntu/Dockerfile deleted file mode 100644 index 79d1cbf..0000000 --- a/ibmjava/9/sdk/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,50 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin - -ENV JAVA_HOME=/opt/ibm/java \ - PATH=/opt/ibm/java/bin:$PATH diff --git a/ibmjava/9/sfj/i386/ubuntu/Dockerfile b/ibmjava/9/sfj/i386/ubuntu/Dockerfile deleted file mode 100644 index 6b4cc4f..0000000 --- a/ibmjava/9/sfj/i386/ubuntu/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM i386/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="5add39cc5ca56b97cf8ce71b9e1a15d19d36864aaed1e0296f50355ba3f34bd5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/i386/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/i386/ubuntu/sfj-exclude.txt b/ibmjava/9/sfj/i386/ubuntu/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/i386/ubuntu/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/9/sfj/ppc64le/ubuntu/Dockerfile b/ibmjava/9/sfj/ppc64le/ubuntu/Dockerfile deleted file mode 100644 index 1d31469..0000000 --- a/ibmjava/9/sfj/ppc64le/ubuntu/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ppc64le/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="3c0dda9f449a667d12fe5f59a1ec059a90a9dc483fd35eef5ff53dd8b096cdf5" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/ppc64le/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/ppc64le/ubuntu/sfj-exclude.txt b/ibmjava/9/sfj/ppc64le/ubuntu/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/ppc64le/ubuntu/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/9/sfj/s390/ubuntu/Dockerfile b/ibmjava/9/sfj/s390/ubuntu/Dockerfile deleted file mode 100644 index c652d1d..0000000 --- a/ibmjava/9/sfj/s390/ubuntu/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="8d06af57d8236839f5c403c12dcf4c89e22dd91716a4d26b85c8d92f6d1e2e8b" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/s390/ubuntu/sfj-exclude.txt b/ibmjava/9/sfj/s390/ubuntu/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/s390/ubuntu/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/9/sfj/s390x/ubuntu/Dockerfile b/ibmjava/9/sfj/s390x/ubuntu/Dockerfile deleted file mode 100644 index 8b4b0cc..0000000 --- a/ibmjava/9/sfj/s390x/ubuntu/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM s390x/ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="6e823afa1df83e364381f827f4244bfe29b0ddd58ef0203eb60df9b8c0d123af" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/s390x/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/s390x/ubuntu/sfj-exclude.txt b/ibmjava/9/sfj/s390x/ubuntu/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/s390x/ubuntu/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/9/sfj/x86_64/alpine/Dockerfile b/ibmjava/9/sfj/x86_64/alpine/Dockerfile deleted file mode 100644 index 91d9046..0000000 --- a/ibmjava/9/sfj/x86_64/alpine/Dockerfile +++ /dev/null @@ -1,64 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM alpine:3.6 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apk --update add --no-cache ca-certificates curl openssl xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \ - && apk del curl \ - && rm -rf /tmp/$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/x86_64/alpine/sfj-exclude.txt b/ibmjava/9/sfj/x86_64/alpine/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/x86_64/alpine/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/9/sfj/x86_64/ubuntu/Dockerfile b/ibmjava/9/sfj/x86_64/ubuntu/Dockerfile deleted file mode 100644 index 5d4bf3c..0000000 --- a/ibmjava/9/sfj/x86_64/ubuntu/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# (C) Copyright IBM Corporation 2016, 2017 -# -# ------------------------------------------------------------------------------ -# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" -# -# PLEASE DO NOT EDIT IT DIRECTLY. -# ------------------------------------------------------------------------------ -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:16.04 - -MAINTAINER Dinakar Guniguntala (@dinogun) - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* - -ENV JAVA_VERSION 1.9.0_ea2 - -COPY sfj-exclude.txt /tmp - -RUN ESUM="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" \ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \ - && YML_FILE="sdk/linux/x86_64/index.yml" \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ - && rm -f /tmp/ibm-java.bin \ - && cd /opt/ibm \ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \ - && rm -rf java/* /tmp/sfj-exclude.txt \ - && mv jre java - -ENV JAVA_HOME=/opt/ibm/java/jre \ - PATH=/opt/ibm/java/jre/bin:$PATH diff --git a/ibmjava/9/sfj/x86_64/ubuntu/sfj-exclude.txt b/ibmjava/9/sfj/x86_64/ubuntu/sfj-exclude.txt deleted file mode 100644 index 0d2deb8..0000000 --- a/ibmjava/9/sfj/x86_64/ubuntu/sfj-exclude.txt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed Materials - Property of IBM, - * Copyright IBM Corp. 2017, 2017 All Rights Reserved - */ - -/java.desktop/bin/* -/java.desktop/conf/* -/java.desktop/native/oblique-fonts/* -/java.desktop/native/fonts/* -/java.desktop/native/amd64/libjsoundalsa.so -/java.desktop/native/amd64/libsplashscreen.so -/java.desktop/native/s390x/libjsoundalsa.so -/java.desktop/native/s390x/libsplashscreen.so -/java.desktop/native/ppc64le/libjsoundalsa.so -/java.desktop/native/ppc64le/libsplashscreen.so - -/java.security.jgss/bin/* -/java.security.jgss/native/amd64/* -/java.security.jgss/native/s390x/* -/java.security.jgss/native/ppc64le/* - -/java.base/native/classic/* -/java.base/native/j9vm/* -/java.base/native/amd64/classic/* -/java.base/native/amd64/default/* -/java.base/native/jexec -/java.base/bin/jextract -/java.base/bin/javaw -/java.base/bin/javaws diff --git a/ibmjava/update-multiarch.sh b/ibmjava/update-multiarch.sh deleted file mode 100755 index 8df931a..0000000 --- a/ibmjava/update-multiarch.sh +++ /dev/null @@ -1,403 +0,0 @@ -#!/bin/bash -# -# (C) Copyright IBM Corporation 2016, 2017 -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -set -eo pipefail - -# Dockerfiles to be generated -version="8 9" -package="jre sdk sfj" -tools="maven" -arches="i386 ppc64le s390 s390x x86_64" -osver="ubuntu alpine" - -# sha256sum for the various versions, packages and arches -# Version 8 sums [DO NO EDIT THIS LINE] -declare -A jre_8_sums=( - [version]="1.8.0_sr5fp6" - [i386]="053ec23dca6a3cb98ca4128aa726ac7e8b06c9aed330a38dafa6817732451f6f" - [ppc64le]="26a7d65089f4a9cdbdcd93318a1c28017e9ef15bf66228e9984aa9fed5efb53e" - [s390]="0f806c5e2c04fc5fea7f815885db05530744616e2a5bafc2fecbd617350f325f" - [s390x]="7da8158760e2ce87cc258e8a69dfc08c86e4276cf798f47745d134a05732cc32" - [x86_64]="b6ccb3db145f0b31e92a9621c81e6247704852daa6fbabc72ac4a36dd5f5df24" -) - -declare -A sdk_8_sums=( - [version]="1.8.0_sr5fp6" - [i386]="5e2fd0cafeab9c72e8eb038eb22cf911a18607298a47cd3d4684179610ec364c" - [ppc64le]="c2dc7e1cf3db66f7ea0497b48ecb79048a553eaa82d5595a43c9bd7542610b0b" - [s390]="5f3f12fefe36502954d69fb1178c2a8bcd88624bc77c4c7bafd9193adcc79398" - [s390x]="116fbee3c36425056d6310dd6ef54ce3debdd7150fa57e28caf39f04108b3edc" - [x86_64]="b5e2824313e62d647c7c7c7c8a6eb8704e445e915da460d379aedd30e6835030" -) - -declare -A sfj_8_sums=( - [version]="1.8.0_sr5fp6" - [i386]="ff9d42a6b567c7f0c8e8e4590297ba3b796ee23ea6d3b7f9b822dd343ce85930" - [ppc64le]="e7206b4c6c790470b0eb6cbcc4f5b0d76ca1f5f88d87cc7784b377b8a83d2a58" - [s390]="bf795862c81e39f66cb7fed3d4a220c314cbce00553c82e91afee604aed0f86d" - [s390x]="a9274e82ccded46a39c63f435e6a5c37c78713809575691f0c2a68c714e60a42" - [x86_64]="1f594b34034cae332bfd773fd4bf1c9e43292df04d276f79b7488250f9cc0822" -) - -# Version 9 sums [DO NO EDIT THIS LINE] -declare -A sdk_9_sums=( - [version]="1.9.0_ea2" - [i386]="5add39cc5ca56b97cf8ce71b9e1a15d19d36864aaed1e0296f50355ba3f34bd5" - [ppc64le]="3c0dda9f449a667d12fe5f59a1ec059a90a9dc483fd35eef5ff53dd8b096cdf5" - [s390]="8d06af57d8236839f5c403c12dcf4c89e22dd91716a4d26b85c8d92f6d1e2e8b" - [s390x]="6e823afa1df83e364381f827f4244bfe29b0ddd58ef0203eb60df9b8c0d123af" - [x86_64]="0fe3712b54a93695cf4948d9ae171bf5cef038c0e41b364b4e9eb7cb80a60688" -) - -# Generate the common license and copyright header -print_legal() { - cat > $1 <<-EOI - # (C) Copyright IBM Corporation 2016, 2017 - # - # ------------------------------------------------------------------------------ - # NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" - # - # PLEASE DO NOT EDIT IT DIRECTLY. - # ------------------------------------------------------------------------------ - # - # Licensed under the Apache License, Version 2.0 (the "License"); - # you may not use this file except in compliance with the License. - # You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, software - # distributed under the License is distributed on an "AS IS" BASIS, - # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - # See the License for the specific language governing permissions and - # limitations under the License. - # - - EOI -} - -# Print the supported Ubuntu OS -print_ubuntu_os() { - cat >> $1 <<-EOI - FROM ubuntu:16.04 - - EOI -} - -# Print the supported Alpine OS -print_alpine_os() { - cat >> $1 <<-EOI - FROM alpine:3.6 - - EOI -} - -# Print the maintainer -print_maint() { - cat >> $1 <<-EOI - MAINTAINER Dinakar Guniguntala (@dinogun) - EOI -} - -# Select the ubuntu OS packages -print_ubuntu_pkg() { - cat >> $1 <<'EOI' - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* -EOI -} - -# Select the alpine OS packages. -# Install GNU glibc as J9 needs it, install libgcc_s.so from gcc-libs.tar.xz (archlinux) -print_alpine_pkg() { - cat >> $1 <<'EOI' - -RUN apk --update add --no-cache ca-certificates curl openssl binutils xz \ - && GLIBC_VER="2.25-r0" \ - && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls ${ALPINE_GLIBC_REPO}/${GLIBC_VER}/glibc-${GLIBC_VER}.apk > /tmp/${GLIBC_VER}.apk \ - && apk add --allow-untrusted /tmp/${GLIBC_VER}.apk \ - && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ - && mkdir /tmp/gcc \ - && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ - && mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \ - && strip /usr/glibc-compat/lib/libgcc_s.so.* /usr/glibc-compat/lib/libstdc++.so* \ - && apk del curl binutils \ - && rm -rf /tmp/${GLIBC_VER}.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* -EOI -} - -# Print the Java version that is being installed here -print_env() { - srcpkg=$2 - shasums="${srcpkg}"_"${ver}"_sums - jverinfo=${shasums}[version] - eval jver=\${$jverinfo} - - cat >> $1 <<-EOI - -ENV JAVA_VERSION ${jver} - -EOI -} - -# OS independent portion (Works for both Alpine and Ubuntu) -# For Java 9 we use jlink to derive the JRE and the SFJ images. -print_java_install() { - cat >> $1 <<-EOI - amd64|x86_64) \\ - ESUM='$(sarray=${shasums}[x86_64]; eval esum=\${$sarray}; echo ${esum})'; \\ - YML_FILE='${srcpkg}/linux/x86_64/index.yml'; \\ - ;; \\ - i386) \\ - ESUM='$(sarray=${shasums}[i386]; eval esum=\${$sarray}; echo ${esum})'; \\ - YML_FILE='${srcpkg}/linux/i386/index.yml'; \\ - ;; \\ - ppc64el|ppc64le) \\ - ESUM='$(sarray=${shasums}[ppc64le]; eval esum=\${$sarray}; echo ${esum})'; \\ - YML_FILE='${srcpkg}/linux/ppc64le/index.yml'; \\ - ;; \\ - s390) \\ - ESUM='$(sarray=${shasums}[s390]; eval esum=\${$sarray}; echo ${esum})'; \\ - YML_FILE='${srcpkg}/linux/s390/index.yml'; \\ - ;; \\ - s390x) \\ - ESUM='$(sarray=${shasums}[s390x]; eval esum=\${$sarray}; echo ${esum})'; \\ - YML_FILE='${srcpkg}/linux/s390x/index.yml'; \\ - ;; \\ - *) \\ - echo "Unsupported arch: \${ARCH}"; \\ - exit 1; \\ - ;; \\ - esac; \\ - BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/"; \\ -EOI - cat >> $1 <<'EOI' - wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml ${BASE_URL}/${YML_FILE}; \ - JAVA_URL=$(cat /tmp/index.yml | sed -n '/'${JAVA_VERSION}'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r'); \ - wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin ${JAVA_URL}; \ - echo "${ESUM} /tmp/ibm-java.bin" | sha256sum -c -; \ - echo "INSTALLER_UI=silent" > /tmp/response.properties; \ - echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties; \ - echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties; \ - mkdir -p /opt/ibm; \ - chmod +x /tmp/ibm-java.bin; \ - /tmp/ibm-java.bin -i silent -f /tmp/response.properties; \ - rm -f /tmp/response.properties; \ - rm -f /tmp/index.yml; \ -EOI - - # For Java 9 JRE, use jlink with the java.se.ee aggregator module. - if [ "${ver}" == "9" ]; then - if [ "${dstpkg}" == "jre" ]; then - JCMD="rm -f /tmp/ibm-java.bin; \\ - cd /opt/ibm; \\ - ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre; \\ - rm -rf java/*; \\ - mv jre java;" - - # For Java 9 SFJ, use jlink with sfj-exclude.txt. - elif [ "${dstpkg}" == "sfj" ]; then - JCMD="rm -f /tmp/ibm-java.bin; \\ - cd /opt/ibm; \\ - ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre; \\ - rm -rf java/* /tmp/sfj-exclude.txt; \\ - mv jre java;" - else - JCMD="rm -f /tmp/ibm-java.bin;" - fi - - # For other Java versions, nothing to be done. - else - JCMD="rm -f /tmp/ibm-java.bin; \\ - cd /opt/ibm/java/jre/lib; \\ - rm -rf icc;" - fi - - cat >> $1 <> $1 <<'EOI' -RUN set -eux; \ - ARCH="$(dpkg --print-architecture)"; \ - case "${ARCH}" in \ -EOI - print_java_install ${file} ${srcpkg} ${dstpkg}; -} - -# Print the main RUN command that installs Java on alpine. -print_alpine_java_install() { - srcpkg=$2 - dstpkg=$3 - shasums="${srcpkg}"_"${ver}"_sums - cat >> $1 <<'EOI' -RUN set -eux; \ - ARCH="$(apk --print-arch)"; \ - case "${ARCH}" in \ -EOI - print_java_install ${file} ${srcpkg} ${dstpkg}; -} - -print_java_env() { - if [ "${pack}" == "sdk" ]; then - if [ "${ver}" == "8" ]; then - JHOME="/opt/ibm/java/jre" - JPATH="/opt/ibm/java/bin" - elif [ "${ver}" == "9" ]; then - JHOME="/opt/ibm/java" - JPATH="/opt/ibm/java/bin" - fi - else - JHOME="/opt/ibm/java/jre" - JPATH="/opt/ibm/java/jre/bin" - fi - TPATH="PATH=${JPATH}:\$PATH" - - cat >> $1 <<-EOI - -ENV JAVA_HOME=${JHOME} \\ - ${TPATH} -EOI -} - -print_exclude_file() { - srcpkg=$2 - dstpkg=$3 - if [ "${ver}" == "9" -a "${dstpkg}" == "sfj" ]; then - cp sfj-exclude.txt `dirname ${file}` - cat >> $1 <<-EOI -COPY sfj-exclude.txt /tmp - -EOI - fi -} - -generate_java() { - if [ "${ver}" == "9" ]; then - srcpkg="sdk"; - else - srcpkg=${pack}; - fi - dstpkg=${pack}; - print_env ${file} ${srcpkg}; - print_exclude_file ${file} ${srcpkg} ${dstpkg}; -if [ "${os}" == "ubuntu" ]; then - print_ubuntu_java_install ${file} ${srcpkg} ${dstpkg}; -elif [ "${os}" == "alpine" ]; then - print_alpine_java_install ${file} ${srcpkg} ${dstpkg}; -fi - print_java_env ${file}; -} - -generate_ubuntu() { - file=$1 - mkdir -p `dirname ${file}` 2>/dev/null - echo -n "Writing ${file}..." - print_legal ${file}; - print_ubuntu_os ${file}; - print_maint ${file}; - print_ubuntu_pkg ${file}; - generate_java ${file}; - echo "done" -} - -generate_alpine() { - file=$1 - mkdir -p `dirname ${file}` 2>/dev/null - echo -n "Writing ${file}..." - print_legal ${file}; - print_alpine_os ${file}; - print_maint ${file}; - print_alpine_pkg ${file}; - generate_java ${file}; - echo "done" -} - -# Print the ibmjava image version -print_java() { - cat >> $1 <<-EOI - FROM ibmjava:${ver}-sdk - - EOI -} - -# -print_maven() { - cat >> $1 <<'EOI' - -ARG MAVEN_VERSION=3.3.9 - -RUN mkdir -p /usr/share/maven \ - && BASE_URL="http://apache.osuosl.org/maven/maven-3" \ - && wget -q -O /tmp/maven.tar.gz $BASE_URL/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \ - && tar -xzC /usr/share/maven --strip-components=1 -f /tmp/maven.tar.gz \ - && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn - -ENV MAVEN_HOME /usr/share/maven - -CMD ["/usr/bin/mvn"] -EOI -} - -generate_maven() { - file=$1 - mkdir -p `dirname $file}` 2>/dev/null - echo -n "Writing ${file}..." - print_legal ${file}; - - print_java ${file}; - print_maint ${file}; - print_maven ${file}; - echo "done" -} - -# Iterate through all the Java versions for each of the supported packages, -# architectures and supported Operating Systems. -for ver in ${version} -do - for pack in ${package} - do - for os in ${osver} - do - file=${ver}/${pack}/${os}/Dockerfile - # Ubuntu is supported for everything - if [ "${os}" == "ubuntu" ]; then - generate_ubuntu ${file} - elif [ "${os}" == "alpine" ]; then - generate_alpine ${file} - fi - done - done -done - -# Iterate through all the build tools. -for ver in ${version} -do - for tool in ${tools} - do - file=${ver}/${tool}/Dockerfile - generate_maven ${file} - done -done diff --git a/ibmjava/update.sh b/ibmjava/update.sh index bbf9a37..8df931a 100755 --- a/ibmjava/update.sh +++ b/ibmjava/update.sh @@ -26,30 +26,30 @@ osver="ubuntu alpine" # sha256sum for the various versions, packages and arches # Version 8 sums [DO NO EDIT THIS LINE] declare -A jre_8_sums=( - [version]="1.8.0_sr5" - [i386]="973fd6f9c4a0f5fd4972b8bfa484d83360c3817cf9597346faa189ab63be074f" - [ppc64le]="2886890c98cde880ff4ffe10108c10e13df6e5b90ca19d924498b44a4aca0e2a" - [s390]="eeee4ccf83c0a959e72e1da4a758f169614bbcc641ff7c65ab2530758c6629ca" - [s390x]="b0b39f01ace528ba7f6cd7bb59a5311cc989afc8774eefd2e877c8f03a27380d" - [x86_64]="8721ed58195f90bcae6341033471322260dd4be21615c4e36cda9bb0eab24ca5" + [version]="1.8.0_sr5fp6" + [i386]="053ec23dca6a3cb98ca4128aa726ac7e8b06c9aed330a38dafa6817732451f6f" + [ppc64le]="26a7d65089f4a9cdbdcd93318a1c28017e9ef15bf66228e9984aa9fed5efb53e" + [s390]="0f806c5e2c04fc5fea7f815885db05530744616e2a5bafc2fecbd617350f325f" + [s390x]="7da8158760e2ce87cc258e8a69dfc08c86e4276cf798f47745d134a05732cc32" + [x86_64]="b6ccb3db145f0b31e92a9621c81e6247704852daa6fbabc72ac4a36dd5f5df24" ) declare -A sdk_8_sums=( - [version]="1.8.0_sr5" - [i386]="b45066ab6ae61b9a7b78b8828dc6f0dcd82ead18b120107c8f523c314592a1a8" - [ppc64le]="52f54e1a4911f3a2123ea3e034818a1e8b2e707455ffb7dd9b104b6c5b4c38a6" - [s390]="6e5ebc6791a16e62be541c28a788884ac91f4a6b8441f2eabc04ebb3dd8278b5" - [s390x]="f2aec41f74441a829e5bbbc62f14dc8dd85d8a256c2d6e46ec4e8c071f3b23ed" - [x86_64]="e0154e19d283b0257598cd62543c92f886cd0e33ce570750d80c92b1c27b532e" + [version]="1.8.0_sr5fp6" + [i386]="5e2fd0cafeab9c72e8eb038eb22cf911a18607298a47cd3d4684179610ec364c" + [ppc64le]="c2dc7e1cf3db66f7ea0497b48ecb79048a553eaa82d5595a43c9bd7542610b0b" + [s390]="5f3f12fefe36502954d69fb1178c2a8bcd88624bc77c4c7bafd9193adcc79398" + [s390x]="116fbee3c36425056d6310dd6ef54ce3debdd7150fa57e28caf39f04108b3edc" + [x86_64]="b5e2824313e62d647c7c7c7c8a6eb8704e445e915da460d379aedd30e6835030" ) declare -A sfj_8_sums=( - [version]="1.8.0_sr5" - [i386]="83c6c959a18f92c5fab9c0d70bc698e1aacd90e4f9aa1f41f9a2a78a0d31ec99" - [ppc64le]="910f1f4079793f497ada5c31c3261229da403a1534330840a6af8c40ab1d8f01" - [s390]="a274ff213f25ffefcd3aff51bbf9f8dd8c2d19b29e344fb6146f8b27beaf2748" - [s390x]="a6c4fc3822305d80db4fe0034b5a492c0e6230da1f6e8850b9d0837820a56d7d" - [x86_64]="2e2708187657c91d82e3641afd844b283c312ba680234d70e4a4a23316282efe" + [version]="1.8.0_sr5fp6" + [i386]="ff9d42a6b567c7f0c8e8e4590297ba3b796ee23ea6d3b7f9b822dd343ce85930" + [ppc64le]="e7206b4c6c790470b0eb6cbcc4f5b0d76ca1f5f88d87cc7784b377b8a83d2a58" + [s390]="bf795862c81e39f66cb7fed3d4a220c314cbce00553c82e91afee604aed0f86d" + [s390x]="a9274e82ccded46a39c63f435e6a5c37c78713809575691f0c2a68c714e60a42" + [x86_64]="1f594b34034cae332bfd773fd4bf1c9e43292df04d276f79b7488250f9cc0822" ) # Version 9 sums [DO NO EDIT THIS LINE] @@ -91,25 +91,8 @@ print_legal() { # Print the supported Ubuntu OS print_ubuntu_os() { - case $arch in - i386) - osrepo="i386/ubuntu" - ;; - x86_64) - osrepo="ubuntu" - ;; - s390|s390x) - osrepo="s390x/ubuntu" - ;; - ppc64le) - osrepo="ppc64le/ubuntu" - ;; - default) - osrepo="ubuntu" - ;; - esac cat >> $1 <<-EOI - FROM $osrepo:16.04 + FROM ubuntu:16.04 EOI } @@ -131,25 +114,12 @@ print_maint() { # Select the ubuntu OS packages print_ubuntu_pkg() { - if [ "$arch" != "i386" ]; then - cat >> $1 <<'EOI' - -RUN apt-get update \ - && apt-get install -y --no-install-recommends wget ca-certificates \ - && rm -rf /var/lib/apt/lists/* -EOI - - else -# For 32bit compatibility on 64bit OS add the following packages -# lib32z1 lib32ncurses5 lib32bz2 lib32gcc1 \ - cat >> $1 <<'EOI' + cat >> $1 <<'EOI' RUN apt-get update \ && apt-get install -y --no-install-recommends wget ca-certificates \ && rm -rf /var/lib/apt/lists/* EOI - - fi } # Select the alpine OS packages. @@ -157,107 +127,145 @@ EOI print_alpine_pkg() { cat >> $1 <<'EOI' -RUN apk --update add --no-cache ca-certificates curl openssl xz \ +RUN apk --update add --no-cache ca-certificates curl openssl binutils xz \ && GLIBC_VER="2.25-r0" \ && ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \ - && curl -Ls $ALPINE_GLIBC_REPO/$GLIBC_VER/glibc-$GLIBC_VER.apk > /tmp/$GLIBC_VER.apk \ - && apk add --allow-untrusted /tmp/$GLIBC_VER.apk \ + && curl -Ls ${ALPINE_GLIBC_REPO}/${GLIBC_VER}/glibc-${GLIBC_VER}.apk > /tmp/${GLIBC_VER}.apk \ + && apk add --allow-untrusted /tmp/${GLIBC_VER}.apk \ && curl -Ls https://www.archlinux.org/packages/core/x86_64/gcc-libs/download > /tmp/gcc-libs.tar.xz \ && mkdir /tmp/gcc \ && tar -xf /tmp/gcc-libs.tar.xz -C /tmp/gcc \ -EOI - - if [ "$ver" == "9" ]; then - GLIBC_PKGS="&& mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \\" - else - GLIBC_PKGS="&& mv /tmp/gcc/usr/lib/libgcc* /usr/glibc-compat/lib \\" - fi - - cat >> $1 <<-EOI - $GLIBC_PKGS - && apk del curl \\ - && rm -rf /tmp/\$GLIBC_VER.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* + && mv /tmp/gcc/usr/lib/libgcc* /tmp/gcc/usr/lib/libstdc++* /usr/glibc-compat/lib \ + && strip /usr/glibc-compat/lib/libgcc_s.so.* /usr/glibc-compat/lib/libstdc++.so* \ + && apk del curl binutils \ + && rm -rf /tmp/${GLIBC_VER}.apk /tmp/gcc /tmp/gcc-libs.tar.xz /var/cache/apk/* EOI } # Print the Java version that is being installed here print_env() { - spkg=$2 - shasums="$spkg"_"$ver"_sums + srcpkg=$2 + shasums="${srcpkg}"_"${ver}"_sums jverinfo=${shasums}[version] - eval JVER=\${$jverinfo} + eval jver=\${$jverinfo} cat >> $1 <<-EOI -ENV JAVA_VERSION $JVER +ENV JAVA_VERSION ${jver} EOI } -# Print the main RUN command that installs Java. +# OS independent portion (Works for both Alpine and Ubuntu) # For Java 9 we use jlink to derive the JRE and the SFJ images. print_java_install() { - spkg=$2 - dpkg=$3 - shasums="$spkg"_"$ver"_sums - archsum=${shasums}[$arch] - eval ASUM=\${$archsum} cat >> $1 <<-EOI -RUN ESUM="$ASUM" \\ - && BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/" \\ - && YML_FILE="$spkg/linux/$arch/index.yml" \\ + amd64|x86_64) \\ + ESUM='$(sarray=${shasums}[x86_64]; eval esum=\${$sarray}; echo ${esum})'; \\ + YML_FILE='${srcpkg}/linux/x86_64/index.yml'; \\ + ;; \\ + i386) \\ + ESUM='$(sarray=${shasums}[i386]; eval esum=\${$sarray}; echo ${esum})'; \\ + YML_FILE='${srcpkg}/linux/i386/index.yml'; \\ + ;; \\ + ppc64el|ppc64le) \\ + ESUM='$(sarray=${shasums}[ppc64le]; eval esum=\${$sarray}; echo ${esum})'; \\ + YML_FILE='${srcpkg}/linux/ppc64le/index.yml'; \\ + ;; \\ + s390) \\ + ESUM='$(sarray=${shasums}[s390]; eval esum=\${$sarray}; echo ${esum})'; \\ + YML_FILE='${srcpkg}/linux/s390/index.yml'; \\ + ;; \\ + s390x) \\ + ESUM='$(sarray=${shasums}[s390x]; eval esum=\${$sarray}; echo ${esum})'; \\ + YML_FILE='${srcpkg}/linux/s390x/index.yml'; \\ + ;; \\ + *) \\ + echo "Unsupported arch: \${ARCH}"; \\ + exit 1; \\ + ;; \\ + esac; \\ + BASE_URL="https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/"; \\ EOI cat >> $1 <<'EOI' - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml $BASE_URL/$YML_FILE \ - && JAVA_URL=$(cat /tmp/index.yml | sed -n '/'$JAVA_VERSION'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r') \ - && wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin $JAVA_URL \ - && echo "$ESUM /tmp/ibm-java.bin" | sha256sum -c - \ - && echo "INSTALLER_UI=silent" > /tmp/response.properties \ - && echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties \ - && echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties \ - && mkdir -p /opt/ibm \ - && chmod +x /tmp/ibm-java.bin \ - && /tmp/ibm-java.bin -i silent -f /tmp/response.properties \ - && rm -f /tmp/response.properties \ - && rm -f /tmp/index.yml \ + wget -q -U UA_IBM_JAVA_Docker -O /tmp/index.yml ${BASE_URL}/${YML_FILE}; \ + JAVA_URL=$(cat /tmp/index.yml | sed -n '/'${JAVA_VERSION}'/{n;p}' | sed -n 's/\s*uri:\s//p' | tr -d '\r'); \ + wget -q -U UA_IBM_JAVA_Docker -O /tmp/ibm-java.bin ${JAVA_URL}; \ + echo "${ESUM} /tmp/ibm-java.bin" | sha256sum -c -; \ + echo "INSTALLER_UI=silent" > /tmp/response.properties; \ + echo "USER_INSTALL_DIR=/opt/ibm/java" >> /tmp/response.properties; \ + echo "LICENSE_ACCEPTED=TRUE" >> /tmp/response.properties; \ + mkdir -p /opt/ibm; \ + chmod +x /tmp/ibm-java.bin; \ + /tmp/ibm-java.bin -i silent -f /tmp/response.properties; \ + rm -f /tmp/response.properties; \ + rm -f /tmp/index.yml; \ EOI # For Java 9 JRE, use jlink with the java.se.ee aggregator module. - if [ "$ver" == "9" ]; then - if [ "$dpkg" == "jre" ]; then - JCMD="&& rm -f /tmp/ibm-java.bin \\ - && cd /opt/ibm \\ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre \\ - && rm -rf java/* \\ - && mv jre java" + if [ "${ver}" == "9" ]; then + if [ "${dstpkg}" == "jre" ]; then + JCMD="rm -f /tmp/ibm-java.bin; \\ + cd /opt/ibm; \\ + ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.se.ee --output jre; \\ + rm -rf java/*; \\ + mv jre java;" # For Java 9 SFJ, use jlink with sfj-exclude.txt. - elif [ "$dpkg" == "sfj" ]; then - JCMD="&& rm -f /tmp/ibm-java.bin \\ - && cd /opt/ibm \\ - && ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre \\ - && rm -rf java/* /tmp/sfj-exclude.txt \\ - && mv jre java" + elif [ "${dstpkg}" == "sfj" ]; then + JCMD="rm -f /tmp/ibm-java.bin; \\ + cd /opt/ibm; \\ + ./java/bin/jlink -G --module-path ./java/jmods --add-modules java.activation,java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.naming,java.prefs,java.rmi,java.security.jgss,java.security.sasl,java.sql,java.xml.crypto,java.xml,com.ibm.management --exclude-files=@/tmp/sfj-exclude.txt --output jre; \\ + rm -rf java/* /tmp/sfj-exclude.txt; \\ + mv jre java;" else - JCMD="&& rm -f /tmp/ibm-java.bin" + JCMD="rm -f /tmp/ibm-java.bin;" fi # For other Java versions, nothing to be done. else - JCMD="&& rm -f /tmp/ibm-java.bin" + JCMD="rm -f /tmp/ibm-java.bin; \\ + cd /opt/ibm/java/jre/lib; \\ + rm -rf icc;" fi cat >> $1 <> $1 <<'EOI' +RUN set -eux; \ + ARCH="$(dpkg --print-architecture)"; \ + case "${ARCH}" in \ +EOI + print_java_install ${file} ${srcpkg} ${dstpkg}; +} + +# Print the main RUN command that installs Java on alpine. +print_alpine_java_install() { + srcpkg=$2 + dstpkg=$3 + shasums="${srcpkg}"_"${ver}"_sums + cat >> $1 <<'EOI' +RUN set -eux; \ + ARCH="$(apk --print-arch)"; \ + case "${ARCH}" in \ EOI + print_java_install ${file} ${srcpkg} ${dstpkg}; } print_java_env() { - if [ "$pack" == "sdk" ]; then - if [ "$ver" == "8" ]; then + if [ "${pack}" == "sdk" ]; then + if [ "${ver}" == "8" ]; then JHOME="/opt/ibm/java/jre" JPATH="/opt/ibm/java/bin" - elif [ "$ver" == "9" ]; then + elif [ "${ver}" == "9" ]; then JHOME="/opt/ibm/java" JPATH="/opt/ibm/java/bin" fi @@ -265,20 +273,20 @@ print_java_env() { JHOME="/opt/ibm/java/jre" JPATH="/opt/ibm/java/jre/bin" fi - TPATH="PATH=$JPATH:\$PATH" + TPATH="PATH=${JPATH}:\$PATH" cat >> $1 <<-EOI -ENV JAVA_HOME=$JHOME \\ - $TPATH +ENV JAVA_HOME=${JHOME} \\ + ${TPATH} EOI } print_exclude_file() { - spkg=$2 - dpkg=$3 - if [ "$ver" == "9" -a "$dpkg" == "sfj" ]; then - cp sfj-exclude.txt `dirname $file` + srcpkg=$2 + dstpkg=$3 + if [ "${ver}" == "9" -a "${dstpkg}" == "sfj" ]; then + cp sfj-exclude.txt `dirname ${file}` cat >> $1 <<-EOI COPY sfj-exclude.txt /tmp @@ -287,46 +295,50 @@ EOI } generate_java() { - if [ "$ver" == "9" ]; then - spkg="sdk"; + if [ "${ver}" == "9" ]; then + srcpkg="sdk"; else - spkg=$pack; + srcpkg=${pack}; fi - dpkg=$pack; - print_env $file $spkg; - print_exclude_file $file $spkg $dpkg; - print_java_install $file $spkg $dpkg; - print_java_env $file; + dstpkg=${pack}; + print_env ${file} ${srcpkg}; + print_exclude_file ${file} ${srcpkg} ${dstpkg}; +if [ "${os}" == "ubuntu" ]; then + print_ubuntu_java_install ${file} ${srcpkg} ${dstpkg}; +elif [ "${os}" == "alpine" ]; then + print_alpine_java_install ${file} ${srcpkg} ${dstpkg}; +fi + print_java_env ${file}; } generate_ubuntu() { file=$1 - mkdir -p `dirname $file` 2>/dev/null - echo -n "Writing $file..." - print_legal $file; - print_ubuntu_os $file; - print_maint $file; - print_ubuntu_pkg $file; - generate_java $file; + mkdir -p `dirname ${file}` 2>/dev/null + echo -n "Writing ${file}..." + print_legal ${file}; + print_ubuntu_os ${file}; + print_maint ${file}; + print_ubuntu_pkg ${file}; + generate_java ${file}; echo "done" } generate_alpine() { file=$1 - mkdir -p `dirname $file` 2>/dev/null - echo -n "Writing $file..." - print_legal $file; - print_alpine_os $file; - print_maint $file; - print_alpine_pkg $file; - generate_java $file; + mkdir -p `dirname ${file}` 2>/dev/null + echo -n "Writing ${file}..." + print_legal ${file}; + print_alpine_os ${file}; + print_maint ${file}; + print_alpine_pkg ${file}; + generate_java ${file}; echo "done" } # Print the ibmjava image version print_java() { cat >> $1 <<-EOI - FROM ibmjava:$ver-sdk + FROM ibmjava:${ver}-sdk EOI } @@ -351,47 +363,41 @@ EOI generate_maven() { file=$1 - mkdir -p `dirname $file` 2>/dev/null - echo -n "Writing $file..." - print_legal $file; + mkdir -p `dirname $file}` 2>/dev/null + echo -n "Writing ${file}..." + print_legal ${file}; - print_java $file; - print_maint $file; - print_maven $file; + print_java ${file}; + print_maint ${file}; + print_maven ${file}; echo "done" } # Iterate through all the Java versions for each of the supported packages, # architectures and supported Operating Systems. -for ver in $version +for ver in ${version} do - for pack in $package + for pack in ${package} do - for arch in $arches + for os in ${osver} do - for os in $osver - do - file=$ver/$pack/$arch/$os/Dockerfile - # Ubuntu is supported for everything - if [ "$os" == "ubuntu" ]; then - generate_ubuntu $file - elif [ "$os" == "alpine" ]; then - # Alpine is supported for x86_64 arch only - if [ "$arch" == "x86_64" ]; then - generate_alpine $file - fi - fi - done + file=${ver}/${pack}/${os}/Dockerfile + # Ubuntu is supported for everything + if [ "${os}" == "ubuntu" ]; then + generate_ubuntu ${file} + elif [ "${os}" == "alpine" ]; then + generate_alpine ${file} + fi done done done # Iterate through all the build tools. -for ver in $version +for ver in ${version} do - for tool in $tools + for tool in ${tools} do - file=$ver/$tool/Dockerfile - generate_maven $file + file=${ver}/${tool}/Dockerfile + generate_maven ${file} done done