2021-04-29 10:36:56 UTC
412 MB
true
FLINK_ASC_URLhttps://www.apache.org/dist/flink/flink-1.11.3/flink-1.11.3-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.11.3/flink-1.11.3-bin-scala_2.12.tgz
GOSU_VERSION1.11
GPG_KEYF8E419AA0B60C28879E876859DFF40967ABFC5A4
JAVA_HOME/usr/local/openjdk-11
JAVA_VERSION11.0.11+9
LANGC.UTF-8
PATH/opt/flink/bin:/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:bd8f6a7501ccbe80b95c82519ed6fd4f7236a41e0ae59ba4a8df76af24629efc - 11.69% (48.1 MB)
[#001] sha256:44718e6d535d365250316b02459f98a1b0fa490158cc53057d18858507504d60 - 1.82% (7.47 MB)
[#002] sha256:efe9738af0cb2184ee8f3fb3dcb130455385aa428a27d14e1e07a5587ff16e64 - 2.32% (9.53 MB)
[#003] sha256:c647a8e650d32757e493b407dbb18e76d50fafb65f698a40e52273248a5e4384 - 1.28% (5.27 MB)
[#004] sha256:cf7f1fadeec31523ca90596c0590988aa3e6ac6e0ad89418daaca771e39bc3d2 - 0.0% (211 Bytes)
[#005] sha256:6314c4ad56dd557046dca3c60f658aa994345c074664a12268fa73fe819453f7 - 10.85% (44.6 MB)
[#006] sha256:79a48b149ce60a8e2c0ec378b92e9bfdbbf3e94495f1f34723de6b8231c2d135 - 0.12% (519 KB)
[#007] sha256:e7f6ad54d80b2910469341edfbf8cdd1f9d85d238201ea55e75d3d23edc27f64 - 0.21% (879 KB)
[#008] sha256:4e4dfbfb69ffb9cc7c400ce2cb59efb8afbc223b0bc3790d4f0091db8584dcef - 0.0% (4.5 KB)
[#009] sha256:5440516aad2d539deaa6ae135cd724ad901d702864a171bd631286072b0e1a95 - 0.0% (147 Bytes)
[#010] sha256:94c37f4f43cdd020532eb492473ddc213c72772fcdf2aa21836d905227c6d88e - 71.72% (295 MB)
[#011] sha256:c79249d3346f64a32e038402ec7d5eb43e4e13bf42cd705b495c8c6219554d56 - 0.0% (1.65 KB)
/bin/sh -c #(nop) ADD file:e18bc3e10e7c743f18bb8be65ec94a62c03764af7dbdb4957f9a600237730212 in /
2021-04-10 01:20:09 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-04-10 01:54:22 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
2021-04-10 01:54:27 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2021-04-10 12:48:09 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
2021-04-10 12:48:09 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-11
2021-04-10 12:48:10 UTC/bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ] # backwards compatibility
2021-04-10 12:48:10 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-04-10 12:48:11 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-04-21 21:55:13 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=11.0.11+9
2021-04-21 21:55:18 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jre_x64_linux_11.0.11_9.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jre_aarch64_linux_11.0.11_9.tar.gz'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; wget --progress=dot:giga -O openjdk.tgz.asc "$downloadUrl.sign"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | tee /dev/stderr | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; java --version
2021-04-29 10:36:13 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apt-get update; apt-get -y install libsnappy1v5 gettext-base; rm -rf /var/lib/apt/lists/* # buildkit
2021-04-29 10:36:16 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.11
2021-04-29 10:36:16 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
2021-04-29 10:36:16 UTC (buildkit.dockerfile.v0)ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.11.3/flink-1.11.3-bin-scala_2.12.tgz FLINK_ASC_URL=https://www.apache.org/dist/flink/flink-1.11.3/flink-1.11.3-bin-scala_2.12.tgz.asc GPG_KEY=F8E419AA0B60C28879E876859DFF40967ABFC5A4 CHECK_GPG=true
2021-04-29 10:36:16 UTC (buildkit.dockerfile.v0)ENV FLINK_HOME=/opt/flink
2021-04-29 10:36:16 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/flink/bin:/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-04-29 10:36:16 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
2021-04-29 10:36:16 UTC (buildkit.dockerfile.v0)WORKDIR /opt/flink
2021-04-29 10:36:56 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 .; # buildkit
2021-04-29 10:36:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2021-04-29 10:36:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2021-04-29 10:36:56 UTC (buildkit.dockerfile.v0)EXPOSE map[6123/tcp:{} 8081/tcp:{}]
2021-04-29 10:36:56 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.