Skip to content

Commit

Permalink
pgp.mit.edu responds 503 on key get so let's import Apache's file
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Feb 28, 2019
1 parent 7336019 commit 0bef60f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# The only assumption we make about this FROM is that it has a JRE in path
FROM solsson/jdk-opensource:11.0.2@sha256:9088fd8eff0920f6012e422cdcb67a590b2a6edbeae1ff0ca8e213e0d4260cf8

ENV KAFKA_VERSION=2.1.1 SCALA_VERSION=2.12 RELEASE_MANAGER_KEY=BEED4F6CB9F77D0E
ENV KAFKA_VERSION=2.1.1 SCALA_VERSION=2.12

RUN set -ex; \
export DEBIAN_FRONTEND=noninteractive; \
runDeps='netcat-openbsd'; \
buildDeps='curl ca-certificates gnupg dirmngr'; \
apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
\
gpg --keyserver pgpkeys.mit.edu --recv-key $RELEASE_MANAGER_KEY; \
curl -s -o KEYS https://www.apache.org/dist/kafka/KEYS; \
gpg --import KEYS && rm KEYS; \
\
SCALA_BINARY_VERSION=$(echo $SCALA_VERSION | cut -f 1-2 -d '.'); \
mkdir -p /opt/kafka; \
Expand Down

0 comments on commit 0bef60f

Please sign in to comment.