Skip to content

Commit bff2e78

Browse files
committed
dockerfile updates 2021-05-23
1 parent 338ff76 commit bff2e78

File tree

200 files changed

+12174
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+12174
-90
lines changed

11/jdk/alpine/Dockerfile.hotspot.nightly.full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.hotspot.nightly.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.hotspot.releases.full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.hotspot.releases.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.openj9.nightly.full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.openj9.nightly.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.openj9.releases.full

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/alpine/Dockerfile.openj9.releases.slim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# limitations under the License.
1818
#
1919

20-
FROM alpine:3.12
20+
FROM alpine:3.13
2121

2222
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2323

2424
RUN apk add --no-cache tzdata --virtual .build-deps curl binutils zstd \
25-
&& GLIBC_VER="2.31-r0" \
25+
&& GLIBC_VER="2.33-r0" \
2626
&& ALPINE_GLIBC_REPO="https://github.com/sgerrand/alpine-pkg-glibc/releases/download" \
2727
&& GCC_LIBS_URL="https://archive.archlinux.org/packages/g/gcc-libs/gcc-libs-10.1.0-2-x86_64.pkg.tar.zst" \
2828
&& GCC_LIBS_SHA256="f80320a03ff73e82271064e4f684cd58d7dbdb07aa06a2c4eea8e0f3c507c45c" \

11/jdk/centos/Dockerfile.hotspot.nightly.slim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ RUN set -eux; \
5757
mkdir -p /opt/java/openjdk; \
5858
cd /opt/java/openjdk; \
5959
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
60+
export PATH="/opt/java/openjdk/bin:$PATH"; \
61+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
6062
rm -rf /tmp/openjdk.tar.gz;
6163

6264
ENV JAVA_HOME=/opt/java/openjdk \

11/jdk/centos/Dockerfile.hotspot.releases.slim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ RUN set -eux; \
5757
mkdir -p /opt/java/openjdk; \
5858
cd /opt/java/openjdk; \
5959
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
60+
export PATH="/opt/java/openjdk/bin:$PATH"; \
61+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
6062
rm -rf /tmp/openjdk.tar.gz;
6163

6264
ENV JAVA_HOME=/opt/java/openjdk \

11/jdk/centos/Dockerfile.openj9.nightly.slim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ RUN set -eux; \
4949
mkdir -p /opt/java/openjdk; \
5050
cd /opt/java/openjdk; \
5151
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
52+
export PATH="/opt/java/openjdk/bin:$PATH"; \
53+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
5254
rm -rf /tmp/openjdk.tar.gz;
5355

5456
ENV JAVA_HOME=/opt/java/openjdk \

11/jdk/centos/Dockerfile.openj9.releases.slim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ RUN set -eux; \
4949
mkdir -p /opt/java/openjdk; \
5050
cd /opt/java/openjdk; \
5151
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
52+
export PATH="/opt/java/openjdk/bin:$PATH"; \
53+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
5254
rm -rf /tmp/openjdk.tar.gz;
5355

5456
ENV JAVA_HOME=/opt/java/openjdk \
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# ------------------------------------------------------------------------------
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "build_latest.sh" or "update_multiarch.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
# ------------------------------------------------------------------------------
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# https://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
FROM opensuse/leap:15.2
21+
22+
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
23+
24+
RUN zypper install --no-recommends -y timezone openssl curl ca-certificates fontconfig gzip tar \
25+
&& zypper update -y; zypper clean --all
26+
27+
ENV JAVA_VERSION jdk11u
28+
29+
COPY slim-java* /usr/local/bin/
30+
31+
RUN set -eux; \
32+
ARCH="$(uname -m)"; \
33+
case "${ARCH}" in \
34+
aarch64|arm64) \
35+
ESUM='fe5f36959a11a574f688d2a27b7c13843bc6a483694ca6ebe054482a37713350'; \
36+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk11u-2021-05-07-07-34/OpenJDK11U-jdk_aarch64_linux_hotspot_2021-05-07-07-34.tar.gz'; \
37+
;; \
38+
armhf|armv7l) \
39+
ESUM='dc496edbccfb7dec6c9fc4a1855fe6768fbec29d6b95b93ee18f0e873421ea4d'; \
40+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk11u-2021-05-07-07-34/OpenJDK11U-jdk_arm_linux_hotspot_2021-05-07-07-34.tar.gz'; \
41+
;; \
42+
ppc64el|ppc64le) \
43+
ESUM='fbc40cc6412457b3bcfc309f157157c3bbaf5a87396df184fd599f9b103e7e13'; \
44+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk11u-2021-05-07-07-34/OpenJDK11U-jdk_ppc64le_linux_hotspot_2021-05-07-07-34.tar.gz'; \
45+
;; \
46+
amd64|x86_64) \
47+
ESUM='2219cf4ec181453d7ce07b91b295f78c71933bc8b01c5ba9f2fbe74bc2b978f4'; \
48+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk11u-2021-05-07-07-34/OpenJDK11U-jdk_x64_linux_hotspot_2021-05-07-07-34.tar.gz'; \
49+
;; \
50+
*) \
51+
echo "Unsupported arch: ${ARCH}"; \
52+
exit 1; \
53+
;; \
54+
esac; \
55+
curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; \
56+
echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \
57+
mkdir -p /opt/java/openjdk; \
58+
cd /opt/java/openjdk; \
59+
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
60+
export PATH="/opt/java/openjdk/bin:$PATH"; \
61+
zypper install --no-recommends -y binutils; \
62+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
63+
zypper remove -y binutils; \
64+
zypper clean --all; \
65+
rm -rf /tmp/openjdk.tar.gz;
66+
67+
ENV JAVA_HOME=/opt/java/openjdk \
68+
PATH="/opt/java/openjdk/bin:$PATH"
69+
CMD ["jshell"]
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# ------------------------------------------------------------------------------
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "build_latest.sh" or "update_multiarch.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
# ------------------------------------------------------------------------------
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# https://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
FROM opensuse/leap:15.2
21+
22+
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
23+
24+
RUN zypper install --no-recommends -y timezone openssl curl ca-certificates fontconfig gzip tar \
25+
&& zypper update -y; zypper clean --all
26+
27+
ENV JAVA_VERSION jdk-11.0.11+9
28+
29+
COPY slim-java* /usr/local/bin/
30+
31+
RUN set -eux; \
32+
ARCH="$(uname -m)"; \
33+
case "${ARCH}" in \
34+
aarch64|arm64) \
35+
ESUM='4966b0df9406b7041e14316e04c9579806832fafa02c5d3bd1842163b7f2353a'; \
36+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.11_9.tar.gz'; \
37+
;; \
38+
armhf|armv7l) \
39+
ESUM='2d7aba0b9ea287145ad437d4b3035fc84f7508e78c6fec99be4ff59fe1b6fc0d'; \
40+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_arm_linux_hotspot_11.0.11_9.tar.gz'; \
41+
;; \
42+
ppc64el|ppc64le) \
43+
ESUM='945b114bd0a617d742653ac1ae89d35384bf89389046a44681109cf8e4f4af91'; \
44+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.11_9.tar.gz'; \
45+
;; \
46+
amd64|x86_64) \
47+
ESUM='e99b98f851541202ab64401594901e583b764e368814320eba442095251e78cb'; \
48+
BINARY_URL='https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.11_9.tar.gz'; \
49+
;; \
50+
*) \
51+
echo "Unsupported arch: ${ARCH}"; \
52+
exit 1; \
53+
;; \
54+
esac; \
55+
curl -LfsSo /tmp/openjdk.tar.gz ${BINARY_URL}; \
56+
echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; \
57+
mkdir -p /opt/java/openjdk; \
58+
cd /opt/java/openjdk; \
59+
tar -xf /tmp/openjdk.tar.gz --strip-components=1; \
60+
export PATH="/opt/java/openjdk/bin:$PATH"; \
61+
zypper install --no-recommends -y binutils; \
62+
/usr/local/bin/slim-java.sh /opt/java/openjdk; \
63+
zypper remove -y binutils; \
64+
zypper clean --all; \
65+
rm -rf /tmp/openjdk.tar.gz;
66+
67+
ENV JAVA_HOME=/opt/java/openjdk \
68+
PATH="/opt/java/openjdk/bin:$PATH"
69+
CMD ["jshell"]

0 commit comments

Comments
 (0)