2023-05-26 05:08:54 UTC
543 MB
true
FLINK_ASC_URLhttps://www.apache.org/dist/flink/flink-1.16.2/flink-1.16.2-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.16.2/flink-1.16.2-bin-scala_2.12.tgz
GOSU_VERSION1.11
GPG_KEY8D56AE6E7082699A4870750EA4E8C4C05EE6861F
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-11.0.19+7
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:1bc677758ad7fa4503417ae5be18809c5a8679b5b36fcd1464d5a8e41cb13305 - 5.34% (29 MB)
[#001] sha256:458b02b5411a07f3b354cde2b461caffc1bb184a3413b5736a9e67ee87cb28b2 - 2.19% (11.9 MB)
[#002] sha256:b04a165ead1d5eabe89dc88e53286af89caab22a5d20c53007b9e6e508affb4b - 8.19% (44.5 MB)
[#003] sha256:1187c73b18505bd4495bc03ccbdb723388dfe4d633fd12be845dfe8e253e48e2 - 0.0% (159 Bytes)
[#004] sha256:c81e8db494e264db1a7b281b4cf8400a527cbffe751e5b142268dde0d2a1eaf0 - 0.82% (4.44 MB)
[#005] sha256:c59b954762338e9011dad7f82c1d356176fd0d9ab2a6490fa3c63bbf557a839f - 0.16% (879 KB)
[#006] sha256:dfd7f00e47f4dcd91ce53b4d2f29228a15cd4bb58b6c700559eab585dc528581 - 0.0% (4.5 KB)
[#007] sha256:e73a0e1836086cf89a9b954d78eba2a18ae777e4280aa0e2fa88c2d3e903295c - 0.0% (147 Bytes)
[#008] sha256:5447c046b68e6237a260f46b82bf097ca1a73868117eceb0399e52873e5c02eb - 83.3% (453 MB)
[#009] sha256:ca5cc5e4ba47db4717388949d2452e989adb09f3697150c15b3a249a85e5df85 - 0.0% (2.06 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-04-25 17:30:47 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-04-25 17:30:47 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-04-25 17:30:47 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-04-25 17:30:49 UTC/bin/sh -c #(nop) ADD file:2fc6364d149eccc7f94ead482a0dcf24b0e44cc0d00ac6a2c1797776153e9608 in /
2023-04-25 17:30:49 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-05-04 07:26:20 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2023-05-04 07:26:20 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-05-04 07:26:20 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2023-05-04 07:26:43 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-05-04 07:27:16 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-11.0.19+7
2023-05-04 07:27:39 UTC/bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='1fe4b20d808f393422610818711c728331992a4455eeeb061d3d05b45412771d'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.19_7.tar.gz'; ;; armhf|arm) ESUM='cb754b055177381f9f6852b7e5469904a15edddd7f8e136043c28b1e33aee47c'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_arm_linux_hotspot_11.0.19_7.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='8019d938e5525938ec8e68e2989c4413263b0d9b7b3f20fe0c45f6d967919cfb'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_ppc64le_linux_hotspot_11.0.19_7.tar.gz'; ;; s390x|s390:64-bit) ESUM='058419435fe6212d1bc305a14f578c314f9ff9a2d96d523c178120e84231c733'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_s390x_linux_hotspot_11.0.19_7.tar.gz'; ;; amd64|i386:x86-64) ESUM='32dcf760664f93531594b72ce9226e9216567de5705a23c9ff5a77c797948054'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.19%2B7/OpenJDK11U-jre_x64_linux_hotspot_11.0.19_7.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-05-04 07:27:40 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-05-26 03:55:11 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-05-26 03:57:01 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.11
2023-05-26 03:57:01 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; wget -nv -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)"; wget -nv -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-05-26 03:57:01 UTC (buildkit.dockerfile.v0)ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.16.2/flink-1.16.2-bin-scala_2.12.tgz FLINK_ASC_URL=https://www.apache.org/dist/flink/flink-1.16.2/flink-1.16.2-bin-scala_2.12.tgz.asc GPG_KEY=8D56AE6E7082699A4870750EA4E8C4C05EE6861F CHECK_GPG=true
2023-05-26 03:57:01 UTC (buildkit.dockerfile.v0)ENV FLINK_HOME=/opt/flink
2023-05-26 03:57:01 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-05-26 03:57:01 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-05-26 03:57:01 UTC (buildkit.dockerfile.v0)WORKDIR /opt/flink
2023-05-26 05:08:54 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-05-26 05:08:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2023-05-26 05:08:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2023-05-26 05:08:54 UTC (buildkit.dockerfile.v0)EXPOSE map[6123/tcp:{} 8081/tcp:{}]
2023-05-26 05:08:54 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.