2023-03-24 01:51:00 UTC
539 MB
true
FLINK_ASC_URLhttps://www.apache.org/dist/flink/flink-1.17.0/flink-1.17.0-bin-scala_2.12.tgz.asc
FLINK_HOME/opt/flink
FLINK_TGZ_URLhttps://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.17.0/flink-1.17.0-bin-scala_2.12.tgz
GOSU_VERSION1.11
GPG_KEYA1BD477F79D036D2C30CA7DBCA8AEEC2F6EB040B
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-11.0.18+10
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/flink/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:74ac377868f863e123f24c409f79709f7563fa464557c36a09cf6f85c8b92b7f - 5.39% (29 MB)
[#001] sha256:b9cabe75b440d785eb2f20422368c248b28fd9c219a5d5db5aacb7de3d43f02c - 2.2% (11.9 MB)
[#002] sha256:9f3fc5460b4b76e852651fec42e4cde1337c4bf503657efbe5521f379b19748a - 8.25% (44.5 MB)
[#003] sha256:a7a8054900958099c4da9d407d5b7d023cf76df2b891f916546c0ddb7e26a697 - 0.0% (159 Bytes)
[#004] sha256:db5745bee10590582c4559e6a498ac68cad4a35ea2575dd288d0f005982e6be3 - 0.82% (4.44 MB)
[#005] sha256:fba79cff83093fd4ca91ed61c3ceebe9472d37387ecb83fe1d5bcdf64d68b62a - 0.16% (879 KB)
[#006] sha256:64f6612a694c1e157a0a9950448412364af95edfe96049031a26cc3b1fc1d0fc - 0.0% (4.51 KB)
[#007] sha256:efa6375c6f58fdf99c11dd793c150703e7c893e903b272a126b0bfd12688d567 - 0.0% (148 Bytes)
[#008] sha256:19f0c6aad76e35e392390770dd8da2c7bd3d9e42671503303153dcb03ceb1677 - 83.18% (448 MB)
[#009] sha256:6dd0f6c9088cda4821eca4f965b780e7efdb18a65ff383a2a3208a7114dc7870 - 0.0% (2.06 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-03-08 04:44:25 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-03-08 04:44:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-03-08 04:44:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-03-08 04:44:27 UTC/bin/sh -c #(nop) ADD file:c8ef6447752cab2541ffca9e3cfa27d581f3491bc8f356f6eafd951243609341 in /
2023-03-08 04:44:27 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-03-16 02:44:03 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2023-03-16 02:44:03 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-03-16 02:44:04 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2023-03-16 02:44:26 UTC/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/*
2023-03-16 02:45:18 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-11.0.18+10
2023-03-16 02:45:50 UTC/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='89bc6e93d48a37a5eff7ec5afa515c60eb3369d106d1736f5e845b3dcf8fb72c'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.18_10.tar.gz'; ;; armhf|arm) ESUM='949482ac232e756f342de6a8592d56b58803e10d3956abff14c4958e711a0b7c'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_arm_linux_hotspot_11.0.18_10.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='df32e80d5b6db60a1ed9ed04eaf267eaf17835ed2ae2c1708d8d94328c03a0a5'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_ppc64le_linux_hotspot_11.0.18_10.tar.gz'; ;; s390x|s390:64-bit) ESUM='c07df5081f78021bed0d169622e470ebd4a4525a45f84192a52580ddb912959b'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_s390x_linux_hotspot_11.0.18_10.tar.gz'; ;; amd64|i386:x86-64) ESUM='0e7b196ef8603ac3d38caaf7768b7b0a3c613d60e15a6511bcfb2c894b609e99'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jre_x64_linux_hotspot_11.0.18_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump;
2023-03-16 02:45:50 UTC/bin/sh -c echo Verifying install ... && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java && echo java --version && java --version && echo Complete.
2023-03-24 01:31:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apt-get update; apt-get -y install gpg libsnappy1v5 gettext-base libjemalloc-dev; rm -rf /var/lib/apt/lists/* # buildkit
2023-03-24 01:49:09 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.11
2023-03-24 01:49:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc"; export GNUPGHOME="$(mktemp -d)"; for server in ha.pool.sks-keyservers.net $(shuf -e hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do gpg --batch --keyserver "$server" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || : ; done && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; chmod +x /usr/local/bin/gosu; gosu nobody true # buildkit
2023-03-24 01:49:09 UTC (buildkit.dockerfile.v0)ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.17.0/flink-1.17.0-bin-scala_2.12.tgz FLINK_ASC_URL=https://www.apache.org/dist/flink/flink-1.17.0/flink-1.17.0-bin-scala_2.12.tgz.asc GPG_KEY=A1BD477F79D036D2C30CA7DBCA8AEEC2F6EB040B CHECK_GPG=true
2023-03-24 01:49:09 UTC (buildkit.dockerfile.v0)ENV FLINK_HOME=/opt/flink
2023-03-24 01:49:09 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/flink/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-03-24 01:49:10 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd --system --gid=9999 flink && useradd --system --home-dir $FLINK_HOME --uid=9999 --gid=flink flink # buildkit
2023-03-24 01:49:10 UTC (buildkit.dockerfile.v0)WORKDIR /opt/flink
2023-03-24 01:51:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; wget -nv -O flink.tgz "$FLINK_TGZ_URL"; if [ "$CHECK_GPG" = "true" ]; then wget -nv -O flink.tgz.asc "$FLINK_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for server in ha.pool.sks-keyservers.net $(shuf -e hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com hkp://keyserver.ubuntu.com:80 pgp.mit.edu) ; do gpg --batch --keyserver "$server" --recv-keys "$GPG_KEY" && break || : ; done && gpg --batch --verify flink.tgz.asc flink.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" flink.tgz.asc; fi; tar -xf flink.tgz --strip-components=1; rm flink.tgz; chown -R flink:flink .; sed -i 's/rest.address: localhost/rest.address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/rest.bind-address: localhost/rest.bind-address: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/jobmanager.bind-host: localhost/jobmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; sed -i 's/taskmanager.bind-host: localhost/taskmanager.bind-host: 0.0.0.0/g' $FLINK_HOME/conf/flink-conf.yaml; sed -i '/taskmanager.host: localhost/d' $FLINK_HOME/conf/flink-conf.yaml; # buildkit
2023-03-24 01:51:00 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2023-03-24 01:51:00 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2023-03-24 01:51:00 UTC (buildkit.dockerfile.v0)EXPOSE map[6123/tcp:{} 8081/tcp:{}]
2023-03-24 01:51:00 UTC (buildkit.dockerfile.v0)CMD ["help"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.