You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2024. It is now read-only.
# Includes minimal runtime used for executing non GUI Java programs
33
35
#========================
36
+
ARG JRE_VERSION=17
34
37
RUN apt-get -qqy update \
35
38
&& apt-get upgrade -yq \
36
39
&& apt-get -qqy --no-install-recommends install \
37
40
acl \
38
41
bzip2 \
39
42
ca-certificates \
40
-
openjdk-11-jre-headless \
41
43
tzdata \
42
44
sudo \
43
45
unzip \
@@ -47,8 +49,23 @@ RUN apt-get -qqy update \
47
49
supervisor \
48
50
gnupg2 \
49
51
libnss3-tools \
50
-
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
51
-
&& sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' ./usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security
RUN if [ $TARGETARCH = "arm" ] && [ $TARGETVARIANT = "v7" ]; then \
63
+
export ARCH=armhf ; \
64
+
else \
65
+
export ARCH=$TARGETARCH ; \
66
+
fi \
67
+
&& sed -i 's/securerandom\.source=file:\/dev\/random/securerandom\.source=file:\/dev\/urandom/' ./usr/lib/jvm/temurin-${JRE_VERSION}-jre-$ARCH/conf/security/java.security
0 commit comments