From 26d817dc1eaeeaf0b3e2f00e5bb5d053e606722c Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 7 Nov 2017 08:52:49 +0100 Subject: [PATCH 1/3] Just for fun ... and then in production for years to come --- kafkakat-node/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kafkakat-node/Dockerfile diff --git a/kafkakat-node/Dockerfile b/kafkakat-node/Dockerfile new file mode 100644 index 0000000..61eeeca --- /dev/null +++ b/kafkakat-node/Dockerfile @@ -0,0 +1,13 @@ +FROM solsson/kafkacat-fixedkey@sha256:e23753bc0900e7b95d29f8c9cb05440eb27d854f367d407ce4ab2955093ad360 as kafkcat-binary + +FROM yolean/node + +COPY --from=kafkcat-binary /usr/local/bin/kafkacat /usr/local/bin/kafkacat + +RUN set -ex; \ + runtimeDeps='libssl1.1 libsasl2-2'; \ + export DEBIAN_FRONTEND=noninteractive; \ + apt-get update && apt-get install -y $runtimeDeps --no-install-recommends; \ + rm -rf /var/lib/apt/lists/*; \ + rm /var/log/dpkg.log /var/log/apt/*.log; \ + kafkacat -V From 5740284203bc1c018b18b03aec8d60ddb7971fa3 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 7 Nov 2017 09:20:20 +0100 Subject: [PATCH 2/3] Kafkacat with same debian as our base images --- kafkakat-node/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kafkakat-node/Dockerfile b/kafkakat-node/Dockerfile index 61eeeca..b341b2f 100644 --- a/kafkakat-node/Dockerfile +++ b/kafkakat-node/Dockerfile @@ -1,6 +1,7 @@ -FROM solsson/kafkacat-fixedkey@sha256:e23753bc0900e7b95d29f8c9cb05440eb27d854f367d407ce4ab2955093ad360 as kafkcat-binary +FROM solsson/kafkacat-fixedkey@sha256:fb27acf4c7ca25eca6a6cffe145cb492ee4d4c87cba0459787fb43f8040f6d7b \ + as kafkcat-binary -FROM yolean/node +FROM yolean/node@sha256:b16c9154c4e8851f2a1fc31a2da3609284ed2ad65dc15249f9ef9b49bed835fd COPY --from=kafkcat-binary /usr/local/bin/kafkacat /usr/local/bin/kafkacat From 61da6012d30eb480a482e5e6e6ee7dd230b1cb8c Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Mon, 13 Nov 2017 13:58:36 +0100 Subject: [PATCH 3/3] Latest builds, and spellcheck :) --- {kafkakat-node => kafkacat-node}/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {kafkakat-node => kafkacat-node}/Dockerfile (65%) diff --git a/kafkakat-node/Dockerfile b/kafkacat-node/Dockerfile similarity index 65% rename from kafkakat-node/Dockerfile rename to kafkacat-node/Dockerfile index b341b2f..17a29ac 100644 --- a/kafkakat-node/Dockerfile +++ b/kafkacat-node/Dockerfile @@ -1,7 +1,7 @@ -FROM solsson/kafkacat-fixedkey@sha256:fb27acf4c7ca25eca6a6cffe145cb492ee4d4c87cba0459787fb43f8040f6d7b \ +FROM solsson/kafkacat@sha256:2c539e4f58960ab7872976ebc664dd92de18cf27e7cbbeb296d654a2351f6ca4 \ as kafkcat-binary -FROM yolean/node@sha256:b16c9154c4e8851f2a1fc31a2da3609284ed2ad65dc15249f9ef9b49bed835fd +FROM yolean/node@sha256:230b269710a1d09b9ebbdeeea0fc4e69ac1388ab71b0178452e817065f69c700 COPY --from=kafkcat-binary /usr/local/bin/kafkacat /usr/local/bin/kafkacat