File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ # same FROM as kafka-jre, to keep pull times down and to provide the same shell distro+version
2+ FROM debian:stable-20170620
3+
4+ ENV KUBERNETES_VERSION=1.7.2 KUBERNETES_CLIENTS_SHA256=9c2363710d61a12a28df2d8a4688543b785156369973d33144ab1f2c1d5c7b53
5+
6+ RUN set -ex; \
7+ export DEBIAN_FRONTEND=noninteractive; \
8+ runDeps='curl ca-certificates' ; \
9+ buildDeps='' ; \
10+ apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends; \
11+ rm -rf /var/lib/apt/lists/*; \
12+ \
13+ curl -sLS -o k.tar.gz -k https://dl.k8s.io/v1.7.2/kubernetes-client-linux-amd64.tar.gz; \
14+ echo "$KUBERNETES_CLIENTS_SHA256 k.tar.gz" | sha256sum -c; \
15+ tar -xvzf k.tar.gz -C /usr/local/bin/ --strip-components=3 kubernetes/client/bin/kubectl; \
16+ rm k.tar.gz; \
17+ \
18+ apt-get purge -y --auto-remove $buildDeps; \
19+ rm /var/log/dpkg.log /var/log/apt/*.log
You can’t perform that action at this time.
0 commit comments