2022-01-18 20:54:54 UTC
415 MB
true
FLINK_ASC_URLhttps://www.apache.org/dist/flink/flink-1.13.5/flink-1.13.5-bin-scala_2.11.tgz.asc
FLINK_HOME/opt/flink
FLINK_TGZ_URLhttps://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.13.5/flink-1.13.5-bin-scala_2.11.tgz
GOSU_VERSION1.11
GPG_KEY19F2195E1B4816D765A2C324C2EED7B111D464BA
JAVA_HOME/usr/local/openjdk-8
JAVA_VERSION8u312
LANGC.UTF-8
PATH/opt/flink/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:0e29546d541cdbd309281d21a73a9d1db78665c1b95b74f32b009e0b77a6e1e3 - 12.62% (52.4 MB)
[#001] sha256:9b829c73b52b92b97d5c07a54fb0f3e921995a296c714b53a32ae67d19231fcd - 1.18% (4.91 MB)
[#002] sha256:cb5b7ae361722f070eca53f35823ed21baa85d61d5d95cd5a95ab53d740cdd56 - 2.5% (10.4 MB)
[#003] sha256:99ce012bef046180a22ef3146fac08398ed1fec48c7b1609b9aed1801e42dfce - 1.3% (5.39 MB)
[#004] sha256:22dc2a72d098601f2b48898ff5e748c316037366c46e554b830cb90ad15519ba - 0.0% (213 Bytes)
[#005] sha256:9c69a57e10d955041a2cb3ad37236bedbd7ad473dc42d5fa3d88f648affa3a12 - 9.51% (39.5 MB)
[#006] sha256:6a98a3a62f6d59ba2c3cecba35cb3ca1e5123a357ee57f8e095d38b713080beb - 0.39% (1.61 MB)
[#007] sha256:95b5c513adeb31b774cfe98395743d099f2aadb81b861ec1aad444b046ec8356 - 0.21% (879 KB)
[#008] sha256:92ed1df0645999c2c0ae7bc59286d3085844ad3378fd2f4a1b019d06ac800c53 - 0.0% (4.5 KB)
[#009] sha256:e3ef6f819cb01dae0e822aaaabbd501b733b214c1bce18d3f4b48c02e9e60484 - 0.0% (148 Bytes)
[#010] sha256:3240b473ad4461ecc6813aeb09b7b07f161a4be673f55c5ddc64f6accbc4000e - 72.3% (300 MB)
[#011] sha256:7cda9900acf87408f32c255efe618ce56c4666f2f9af724885648b5881f10105 - 0.0% (1.9 KB)
/bin/sh -c #(nop) ADD file:c03517c5ddbed4053165bfdf984b27a006fb5f533ca80b5798232d96df221440 in /
2021-12-21 01:22:32 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-12-21 01:51:53 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-12-21 01:51:59 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-12-21 23:04:27 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-12-21 23:07:28 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-8
2021-12-21 23:07:31 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-12-21 23:07:31 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-21 23:07:32 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-12-21 23:07:32 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=8u312
2021-12-21 23:07:43 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_linux_8u312b07.tar.gz'; ;; 'arm64') downloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_aarch64_linux_8u312b07.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 keyserver.ubuntu.com --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --keyserver keyserver.ubuntu.com --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 -version
2022-01-18 18:40:30 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apt-get update; apt-get -y install libsnappy1v5 gettext-base libjemalloc-dev; rm -rf /var/lib/apt/lists/* # buildkit
2022-01-18 18:40:38 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.11
2022-01-18 18:40:38 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
2022-01-18 18:40:38 UTC (buildkit.dockerfile.v0)ENV FLINK_TGZ_URL=https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.13.5/flink-1.13.5-bin-scala_2.11.tgz FLINK_ASC_URL=https://www.apache.org/dist/flink/flink-1.13.5/flink-1.13.5-bin-scala_2.11.tgz.asc GPG_KEY=19F2195E1B4816D765A2C324C2EED7B111D464BA CHECK_GPG=true
2022-01-18 18:40:38 UTC (buildkit.dockerfile.v0)ENV FLINK_HOME=/opt/flink
2022-01-18 18:40:38 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/flink/bin:/usr/local/openjdk-8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-01-18 20:54:08 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
2022-01-18 20:54:08 UTC (buildkit.dockerfile.v0)WORKDIR /opt/flink
2022-01-18 20:54: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 .; # buildkit
2022-01-18 20:54:54 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2022-01-18 20:54:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2022-01-18 20:54:54 UTC (buildkit.dockerfile.v0)EXPOSE map[6123/tcp:{} 8081/tcp:{}]
2022-01-18 20:54: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.