sha256:0b828cfd7e620f3bd2139c316628c3c88254f1b74e8406a5fd6bc6549e32b1a4
OS/ARCH
Compressed size
117.18 MB
Last pushed
1 day by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:6a55d8ca49a1b8538664aa95e88d59e8a659870e8a401e4211975a4e8a78d168
12
USER root
0 B
13
ARG LIBERTY_VERSION=26.0.0.3
0 B
14
ARG LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b
0 B
15
ARG LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip
0 B
16
ARG LIBERTY_BUILD_LABEL=cl260320260309-1102
0 B
17
ARG OPENJ9_SCC=true
0 B
18
ARG VERBOSE=false
0 B
19
LABEL org.opencontainers.image.authors=Leo Christy Jesuraj, Melissa Lee, Thomas Watson, Michal Broz, Wendy Raschke org.opencontainers.image.vendor=Open Liberty org.opencontainers.image.url=https://openliberty.io/ org.opencontainers.image.source=https://github.com/OpenLiberty/ci.docker org.opencontainers.image.revision=cl260320260309-1102 org.opencontainers.image.description=This image contains the Open Liberty runtime with IBM Semeru Runtime Open Edition OpenJDK with OpenJ9 and Ubuntu as the base OS. For more information on this image please see https://github.com/OpenLiberty/ci.docker#building-an-application-image org.opencontainers.image.title=Open Liberty org.opencontainers.image.version=26.0.0.3 liberty.version=26.0.0.3 io.openliberty.version=26.0.0.3
0 B
20
COPY NOTICES /opt/ol/NOTICES # buildkit
1.05 KB
21
COPY helpers /opt/ol/helpers # buildkit
11.91 KB
22
COPY fixes/ /opt/ol/fixes/ # buildkit
244 B
23
RUN |6 LIBERTY_VERSION=26.0.0.3 LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip LIBERTY_BUILD_LABEL=cl260320260309-1102 OPENJ9_SCC=true VERBOSE=false /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) DUMB_INIT_URL='https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_aarch64'; DUMB_INIT_SHA256=b7d648f97154a99c539b63c55979cd29f005f88430fb383007fe3458340b795e; ;; amd64|x86_64) DUMB_INIT_URL='https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64'; DUMB_INIT_SHA256=e874b55f3279ca41415d290c512a7ba9d08f98041b28ae7c2acb19a545f1c4df; ;; ppc64el|ppc64le) DUMB_INIT_URL='https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_ppc64le'; DUMB_INIT_SHA256=3d15e80e29f0f4fa1fc686b00613a2220bc37e83a35283d4b4cca1fbd0a5609f; ;; s390x) DUMB_INIT_URL='https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_s390x'; DUMB_INIT_SHA256=47e4601b152fc6dcb1891e66c30ecc62a2939fd7ffd1515a7c30f281cfec53b7; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; curl -LfsSo /usr/bin/dumb-init ${DUMB_INIT_URL}; echo "${DUMB_INIT_SHA256} */usr/bin/dumb-init" | sha256sum -c -; chmod +x /usr/bin/dumb-init; # buildkit
33.11 KB
24
RUN |6 LIBERTY_VERSION=26.0.0.3 LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip LIBERTY_BUILD_LABEL=cl260320260309-1102 OPENJ9_SCC=true VERBOSE=false /bin/sh -c apt-get update && apt-get install -y --no-install-recommends unzip openssl wget && wget -q $LIBERTY_DOWNLOAD_URL -U UA-Open-Liberty-Docker -O /tmp/wlp.zip && echo "$LIBERTY_SHA /tmp/wlp.zip" > /tmp/wlp.zip.sha1 && sha1sum -c /tmp/wlp.zip.sha1 && unzip -q /tmp/wlp.zip -d /opt/ol && rm /tmp/wlp.zip && rm /tmp/wlp.zip.sha1 && mkdir -p /licenses && cp /opt/ol/wlp/LICENSE /licenses/ && apt-get remove -y unzip && apt-get remove -y wget && rm -rf /var/lib/apt/lists/* && useradd -u 1001 -r -g 0 -s /usr/sbin/nologin default && chown -R 1001:0 /opt/ol/wlp && chmod -R g+rw /opt/ol/wlp # buildkit
15.03 MB
25
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/ol/wlp/bin:/opt/ol/helpers/build:/opt/ol/helpers/runtime LOG_DIR=/liberty/logs WLP_OUTPUT_DIR=/opt/ol/wlp/output WLP_SKIP_MAXPERMSIZE=true OPENJ9_SCC=true
0 B
26
RUN |6 LIBERTY_VERSION=26.0.0.3 LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip LIBERTY_BUILD_LABEL=cl260320260309-1102 OPENJ9_SCC=true VERBOSE=false /bin/sh -c /opt/ol/wlp/bin/server create && rm -rf $WLP_OUTPUT_DIR/.classCache /output/workarea && rm -rf /opt/ol/wlp/usr/servers/defaultServer/server.env # buildkit
738 B
27
RUN |6 LIBERTY_VERSION=26.0.0.3 LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip LIBERTY_BUILD_LABEL=cl260320260309-1102 OPENJ9_SCC=true VERBOSE=false /bin/sh -c mkdir /logs && chown -R 1001:0 /logs && chmod -R g+rw /logs && mkdir -p /opt/ol/wlp/usr/shared/resources/lib.index.cache && ln -s /opt/ol/wlp/usr/shared/resources/lib.index.cache /lib.index.cache && mkdir -p $WLP_OUTPUT_DIR/defaultServer && ln -s $WLP_OUTPUT_DIR/defaultServer /output && ln -s /opt/ol/wlp/usr/servers/defaultServer /config && mkdir -p /config/configDropins/defaults && mkdir -p /config/configDropins/overrides && ln -s /opt/ol/wlp /liberty && ln -s /opt/ol/fixes /fixes && chown -R 1001:0 /config && chmod -R g+rw /config && chown -R 1001:0 /opt/ol/wlp/usr && chmod -R g+rw /opt/ol/wlp/usr && chown -R 1001:0 /opt/ol/wlp/output && chmod -R g+rw /opt/ol/wlp/output && chown -R 1001:0 /opt/ol/helpers && chmod -R ug+rwx /opt/ol/helpers && chown -R 1001:0 /opt/ol/fixes && chmod -R g+rwx /opt/ol/fixes && mkdir /etc/wlp && chown -R 1001:0 /etc/wlp && chmod -R g+rw /etc/wlp && echo "<server description=\"Default Server\"><httpEndpoint id=\"defaultHttpEndpoint\" host=\"*\" /></server>" > /config/configDropins/defaults/open-default-port.xml && ln -s /logs /liberty/logs && mkdir /serviceability && chown -R 1001:0 /serviceability && chmod -R g+rw /serviceability # buildkit
13.02 KB
28
RUN |6 LIBERTY_VERSION=26.0.0.3 LIBERTY_SHA=4ed962192d69effa30e34290a1a819469fe6e12b LIBERTY_DOWNLOAD_URL=https://repo1.maven.org/maven2/io/openliberty/openliberty-kernel/26.0.0.3/openliberty-kernel-26.0.0.3.zip LIBERTY_BUILD_LABEL=cl260320260309-1102 OPENJ9_SCC=true VERBOSE=false /bin/sh -c if [ "$OPENJ9_SCC" = "true" ]; then populate_scc.sh; fi && rm -rf /output/messaging /output/resources/security /logs/* $WLP_OUTPUT_DIR/.classCache /output/workarea && chown -R 1001:0 /opt/ol/wlp/output && chmod -R g+rwx /opt/ol/wlp/output # buildkit
2.79 MB
29
ENV RANDFILE=/tmp/.rnd OPENJ9_JAVA_OPTIONS=-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningGcOnIdle -Xshareclasses:name=openj9_system_scc,cacheDir=/opt/java/.scc,readonly,nonFatal -Dosgi.checkConfiguration=false
0 B
30
USER 1001
0 B
31
EXPOSE map[9080/tcp:{} 9443/tcp:{}]
0 B
32
ENTRYPOINT ["/opt/ol/helpers/runtime/docker-server.sh"]
0 B
33
CMD ["/opt/ol/wlp/bin/server" "run" "defaultServer"]
0 B