Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Flink images #5038

Merged
merged 1 commit into from Nov 5, 2018

Conversation

Projects
None yet
4 participants
@patricklucas
Copy link
Contributor

commented Nov 5, 2018

No description provided.

@yosifkit

This comment has been minimized.

Copy link
Member

commented Nov 5, 2018

Diff:
diff --git a/flink_1.5-alpine/Dockerfile b/flink_1.5-alpine/Dockerfile
index 70916a8..6b9aad0 100644
--- a/flink_1.5-alpine/Dockerfile
+++ b/flink_1.5-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop24-alpine/Dockerfile b/flink_1.5-hadoop24-alpine/Dockerfile
index 2fb4737..5215cb5 100644
--- a/flink_1.5-hadoop24-alpine/Dockerfile
+++ b/flink_1.5-hadoop24-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop24/Dockerfile b/flink_1.5-hadoop24/Dockerfile
index bdc4592..72a6c3b 100644
--- a/flink_1.5-hadoop24/Dockerfile
+++ b/flink_1.5-hadoop24/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop26-alpine/Dockerfile b/flink_1.5-hadoop26-alpine/Dockerfile
index 5de4976..96b7243 100644
--- a/flink_1.5-hadoop26-alpine/Dockerfile
+++ b/flink_1.5-hadoop26-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop26/Dockerfile b/flink_1.5-hadoop26/Dockerfile
index be570f2..22f7325 100644
--- a/flink_1.5-hadoop26/Dockerfile
+++ b/flink_1.5-hadoop26/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop27-alpine/Dockerfile b/flink_1.5-hadoop27-alpine/Dockerfile
index c4a82dc..8534a72 100644
--- a/flink_1.5-hadoop27-alpine/Dockerfile
+++ b/flink_1.5-hadoop27-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop27/Dockerfile b/flink_1.5-hadoop27/Dockerfile
index ca6bfed..b281d20 100644
--- a/flink_1.5-hadoop27/Dockerfile
+++ b/flink_1.5-hadoop27/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop28-alpine/Dockerfile b/flink_1.5-hadoop28-alpine/Dockerfile
index fc1c2f9..3018932 100644
--- a/flink_1.5-hadoop28-alpine/Dockerfile
+++ b/flink_1.5-hadoop28-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5-hadoop28/Dockerfile b/flink_1.5-hadoop28/Dockerfile
index d0a845a..9bd2d0a 100644
--- a/flink_1.5-hadoop28/Dockerfile
+++ b/flink_1.5-hadoop28/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_1.5/Dockerfile b/flink_1.5/Dockerfile
index 861778d..4db81a1 100644
--- a/flink_1.5/Dockerfile
+++ b/flink_1.5/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_alpine/Dockerfile b/flink_alpine/Dockerfile
index 6b939e6..896067e 100644
--- a/flink_alpine/Dockerfile
+++ b/flink_alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop24-alpine/Dockerfile b/flink_hadoop24-alpine/Dockerfile
index 8c61967..3d60038 100644
--- a/flink_hadoop24-alpine/Dockerfile
+++ b/flink_hadoop24-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop24/Dockerfile b/flink_hadoop24/Dockerfile
index 2ea895b..8f2889e 100644
--- a/flink_hadoop24/Dockerfile
+++ b/flink_hadoop24/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop26-alpine/Dockerfile b/flink_hadoop26-alpine/Dockerfile
index 3b5d370..bbb6c6c 100644
--- a/flink_hadoop26-alpine/Dockerfile
+++ b/flink_hadoop26-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop26/Dockerfile b/flink_hadoop26/Dockerfile
index f0034d8..2c6ad96 100644
--- a/flink_hadoop26/Dockerfile
+++ b/flink_hadoop26/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop27-alpine/Dockerfile b/flink_hadoop27-alpine/Dockerfile
index 0bd6f56..54f8d36 100644
--- a/flink_hadoop27-alpine/Dockerfile
+++ b/flink_hadoop27-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop27/Dockerfile b/flink_hadoop27/Dockerfile
index bb0493d..629192b 100644
--- a/flink_hadoop27/Dockerfile
+++ b/flink_hadoop27/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop28-alpine/Dockerfile b/flink_hadoop28-alpine/Dockerfile
index 72a02e2..6ebece8 100644
--- a/flink_hadoop28-alpine/Dockerfile
+++ b/flink_hadoop28-alpine/Dockerfile
@@ -55,6 +55,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_hadoop28/Dockerfile b/flink_hadoop28/Dockerfile
index 6e8a96c..1d9755e 100644
--- a/flink_hadoop28/Dockerfile
+++ b/flink_hadoop28/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
diff --git a/flink_latest/Dockerfile b/flink_latest/Dockerfile
index d5de5af..dfba6c8 100644
--- a/flink_latest/Dockerfile
+++ b/flink_latest/Dockerfile
@@ -30,8 +30,15 @@ RUN 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)"; \
-  gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
+  for server in $(shuf -e ha.pool.sks-keyservers.net \
+                          hkp://p80.pool.sks-keyservers.net:80 \
+                          keyserver.ubuntu.com \
+                          hkp://keyserver.ubuntu.com:80 \
+                          pgp.mit.edu) ; do \
+      gpg --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
@@ -63,6 +70,7 @@ RUN set -ex; \
   export GNUPGHOME="$(mktemp -d)"; \
   gpg --import /KEYS; \
   gpg --batch --verify flink.tgz.asc flink.tgz; \
+  gpgconf --kill all; \
   rm -rf "$GNUPGHOME" flink.tgz.asc; \
   \
   tar -xf flink.tgz --strip-components=1; \
@yosifkit

This comment has been minimized.

Copy link
Member

commented Nov 5, 2018

Build test of #5038; 40f396c; amd64 (flink):

$ bashbrew build flink:1.5.5-hadoop24-scala_2.11
Using bashbrew/cache:0a6233dc70485dbe35049c941b1b31518f3f5ec0da0d7ecafc77d3b1cfdba01d (flink:1.5.5-hadoop24-scala_2.11)
Tagging flink:1.5.5-hadoop24-scala_2.11
Tagging flink:1.5.5-hadoop24
Tagging flink:1.5-hadoop24

$ test/run.sh flink:1.5.5-hadoop24-scala_2.11
testing flink:1.5.5-hadoop24-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop26-scala_2.11
Using bashbrew/cache:a6a02ce90745e4d88045fd8ff7aaf7ba817e04562c25e2599b0a47fe6b0a7dcd (flink:1.5.5-hadoop26-scala_2.11)
Tagging flink:1.5.5-hadoop26-scala_2.11
Tagging flink:1.5.5-hadoop26
Tagging flink:1.5-hadoop26

$ test/run.sh flink:1.5.5-hadoop26-scala_2.11
testing flink:1.5.5-hadoop26-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop27-scala_2.11
Using bashbrew/cache:8635b89d80dff04de5e3a8636e311402a17225d713a8ba67275af65022c47da2 (flink:1.5.5-hadoop27-scala_2.11)
Tagging flink:1.5.5-hadoop27-scala_2.11
Tagging flink:1.5.5-hadoop27
Tagging flink:1.5-hadoop27

$ test/run.sh flink:1.5.5-hadoop27-scala_2.11
testing flink:1.5.5-hadoop27-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop28-scala_2.11
Using bashbrew/cache:f6dfaa18a22444deb4bab4db23ef9458bb47dd957b130fdd81c1f7fc22b149aa (flink:1.5.5-hadoop28-scala_2.11)
Tagging flink:1.5.5-hadoop28-scala_2.11
Tagging flink:1.5.5-hadoop28
Tagging flink:1.5-hadoop28

$ test/run.sh flink:1.5.5-hadoop28-scala_2.11
testing flink:1.5.5-hadoop28-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-scala_2.11
Using bashbrew/cache:5b64ac954e9bea23b9bed36b3934ef89255e84e7b8d09dd1586ed4a512dbd7d5 (flink:1.5.5-scala_2.11)
Tagging flink:1.5.5-scala_2.11
Tagging flink:1.5-scala_2.11
Tagging flink:1.5.5
Tagging flink:1.5

$ test/run.sh flink:1.5.5-scala_2.11
testing flink:1.5.5-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop24-scala_2.11-alpine
Using bashbrew/cache:15e04cf6456b0891d6f1815b2133ce41d8e8a92c498edce2d4182b137cb60571 (flink:1.5.5-hadoop24-scala_2.11-alpine)
Tagging flink:1.5.5-hadoop24-scala_2.11-alpine
Tagging flink:1.5.5-hadoop24-alpine
Tagging flink:1.5-hadoop24-alpine

$ test/run.sh flink:1.5.5-hadoop24-scala_2.11-alpine
testing flink:1.5.5-hadoop24-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop26-scala_2.11-alpine
Using bashbrew/cache:1e73c528e1a0768cc9e79cfb5f3e83732e5d5703cd84abdd9296e589ec4e8ee8 (flink:1.5.5-hadoop26-scala_2.11-alpine)
Tagging flink:1.5.5-hadoop26-scala_2.11-alpine
Tagging flink:1.5.5-hadoop26-alpine
Tagging flink:1.5-hadoop26-alpine

$ test/run.sh flink:1.5.5-hadoop26-scala_2.11-alpine
testing flink:1.5.5-hadoop26-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop27-scala_2.11-alpine
Using bashbrew/cache:d2087ec3411e303be38558d2a17b122192233e10f31370891d79fc5feec5d132 (flink:1.5.5-hadoop27-scala_2.11-alpine)
Tagging flink:1.5.5-hadoop27-scala_2.11-alpine
Tagging flink:1.5.5-hadoop27-alpine
Tagging flink:1.5-hadoop27-alpine

$ test/run.sh flink:1.5.5-hadoop27-scala_2.11-alpine
testing flink:1.5.5-hadoop27-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-hadoop28-scala_2.11-alpine
Using bashbrew/cache:97e3f94feb97e52d72b4f8b4c85a0e46a2e425ae932c11f56f49794947fcee66 (flink:1.5.5-hadoop28-scala_2.11-alpine)
Tagging flink:1.5.5-hadoop28-scala_2.11-alpine
Tagging flink:1.5.5-hadoop28-alpine
Tagging flink:1.5-hadoop28-alpine

$ test/run.sh flink:1.5.5-hadoop28-scala_2.11-alpine
testing flink:1.5.5-hadoop28-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.5.5-scala_2.11-alpine
Using bashbrew/cache:442a6072ba316cdf5c1280a869b69ea98938fb534a0ef4bb106749da09e2e858 (flink:1.5.5-scala_2.11-alpine)
Tagging flink:1.5.5-scala_2.11-alpine
Tagging flink:1.5-scala_2.11-alpine
Tagging flink:1.5.5-alpine
Tagging flink:1.5-alpine

$ test/run.sh flink:1.5.5-scala_2.11-alpine
testing flink:1.5.5-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop24-scala_2.11
Using bashbrew/cache:b94a614647a474d7896a3d5ee063c7f56bfbacaacf1a5ed3b9012bd8cd76ec15 (flink:1.6.2-hadoop24-scala_2.11)
Tagging flink:1.6.2-hadoop24-scala_2.11
Tagging flink:1.6.2-hadoop24
Tagging flink:1.6-hadoop24
Tagging flink:hadoop24

$ test/run.sh flink:1.6.2-hadoop24-scala_2.11
testing flink:1.6.2-hadoop24-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop26-scala_2.11
Using bashbrew/cache:92f94484548f9e420043090d5ace08230e2fabf1f9d5e190ff1692ca9f771a5c (flink:1.6.2-hadoop26-scala_2.11)
Tagging flink:1.6.2-hadoop26-scala_2.11
Tagging flink:1.6.2-hadoop26
Tagging flink:1.6-hadoop26
Tagging flink:hadoop26

$ test/run.sh flink:1.6.2-hadoop26-scala_2.11
testing flink:1.6.2-hadoop26-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop27-scala_2.11
Using bashbrew/cache:5e5a30b7e1184964a5e930da4712ae3b361090e36683009ed0d247c56b2b66a0 (flink:1.6.2-hadoop27-scala_2.11)
Tagging flink:1.6.2-hadoop27-scala_2.11
Tagging flink:1.6.2-hadoop27
Tagging flink:1.6-hadoop27
Tagging flink:hadoop27

$ test/run.sh flink:1.6.2-hadoop27-scala_2.11
testing flink:1.6.2-hadoop27-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop28-scala_2.11
Using bashbrew/cache:33f38303ba3318b587c187f71c38899dd39212bec28472d9526d4362b5aea7c3 (flink:1.6.2-hadoop28-scala_2.11)
Tagging flink:1.6.2-hadoop28-scala_2.11
Tagging flink:1.6.2-hadoop28
Tagging flink:1.6-hadoop28
Tagging flink:hadoop28

$ test/run.sh flink:1.6.2-hadoop28-scala_2.11
testing flink:1.6.2-hadoop28-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-scala_2.11
Using bashbrew/cache:fbf6207369b8b650ef994ce618bc7f9ac6444e3ddd8a89c6df4ee2259dab31ca (flink:1.6.2-scala_2.11)
Tagging flink:1.6.2-scala_2.11
Tagging flink:1.6-scala_2.11
Tagging flink:scala_2.11
Tagging flink:1.6.2
Tagging flink:1.6
Tagging flink:latest

$ test/run.sh flink:1.6.2-scala_2.11
testing flink:1.6.2-scala_2.11
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop24-scala_2.11-alpine
Using bashbrew/cache:19af688f5521da47211a3ffb6e07dd2cc15ac1a6798df77b4856470e498b6048 (flink:1.6.2-hadoop24-scala_2.11-alpine)
Tagging flink:1.6.2-hadoop24-scala_2.11-alpine
Tagging flink:1.6.2-hadoop24-alpine
Tagging flink:1.6-hadoop24-alpine
Tagging flink:hadoop24-alpine

$ test/run.sh flink:1.6.2-hadoop24-scala_2.11-alpine
testing flink:1.6.2-hadoop24-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop26-scala_2.11-alpine
Using bashbrew/cache:69061747b76b80f61a89acb168c74de1d6bf34254aa6c6a5a3649331fbd5f31d (flink:1.6.2-hadoop26-scala_2.11-alpine)
Tagging flink:1.6.2-hadoop26-scala_2.11-alpine
Tagging flink:1.6.2-hadoop26-alpine
Tagging flink:1.6-hadoop26-alpine
Tagging flink:hadoop26-alpine

$ test/run.sh flink:1.6.2-hadoop26-scala_2.11-alpine
testing flink:1.6.2-hadoop26-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop27-scala_2.11-alpine
Using bashbrew/cache:d668b5fda79d406ef3b17d9630ca3cb4d0b5a6f608ca95c014fcc622b790bb49 (flink:1.6.2-hadoop27-scala_2.11-alpine)
Tagging flink:1.6.2-hadoop27-scala_2.11-alpine
Tagging flink:1.6.2-hadoop27-alpine
Tagging flink:1.6-hadoop27-alpine
Tagging flink:hadoop27-alpine

$ test/run.sh flink:1.6.2-hadoop27-scala_2.11-alpine
testing flink:1.6.2-hadoop27-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-hadoop28-scala_2.11-alpine
Using bashbrew/cache:c4962e889a09139d3960bc4b52d1d88fc0af323c08e551ddd8a97027e760958f (flink:1.6.2-hadoop28-scala_2.11-alpine)
Tagging flink:1.6.2-hadoop28-scala_2.11-alpine
Tagging flink:1.6.2-hadoop28-alpine
Tagging flink:1.6-hadoop28-alpine
Tagging flink:hadoop28-alpine

$ test/run.sh flink:1.6.2-hadoop28-scala_2.11-alpine
testing flink:1.6.2-hadoop28-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build flink:1.6.2-scala_2.11-alpine
Using bashbrew/cache:297e58cd1a658b71ccc2b8b29d3e3ac2a0716a7d57d636aa0f4395dce0ddbad1 (flink:1.6.2-scala_2.11-alpine)
Tagging flink:1.6.2-scala_2.11-alpine
Tagging flink:1.6-scala_2.11-alpine
Tagging flink:scala_2.11-alpine
Tagging flink:1.6.2-alpine
Tagging flink:1.6-alpine
Tagging flink:alpine

$ test/run.sh flink:1.6.2-scala_2.11-alpine
testing flink:1.6.2-scala_2.11-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed

@yosifkit yosifkit merged commit 726fe43 into docker-library:master Nov 5, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@lag-linaro

This comment has been minimized.

Copy link
Contributor

commented Nov 6, 2018

Any idea why amd64 rebuilt, but arm64v8 did not?

https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/flink/

@yosifkit

This comment has been minimized.

Copy link
Member

commented Nov 6, 2018

All non-amd64 arches only trigger once a day in order to minimize #3835

@lag-linaro

This comment has been minimized.

Copy link
Contributor

commented Nov 7, 2018

It seems to have built now.

Thanks for the clarification @yosifkit.

@tianon tianon referenced this pull request Nov 7, 2018

Merged

Fedora Update 20181106 #5040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.