From 8a01477901d2e55e5480cd68c6e1f77911a1b9d2 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 28 Nov 2019 14:27:52 +0000 Subject: [PATCH] Add docker ln so docker cli SSH remote works --- dockerfiles/dind/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfiles/dind/Dockerfile b/dockerfiles/dind/Dockerfile index d7353ca..cb444ad 100644 --- a/dockerfiles/dind/Dockerfile +++ b/dockerfiles/dind/Dockerfile @@ -1,7 +1,8 @@ ARG VERSION=docker:stable-dind FROM ${VERSION} -RUN apk add --no-cache git tmux py2-pip apache2-utils vim build-base gettext-dev curl bash-completion bash util-linux jq openssh openssl tree +RUN apk add --no-cache git tmux py2-pip apache2-utils vim build-base gettext-dev curl bash-completion bash util-linux jq openssh openssl tree \ + && ln -s /usr/local/bin/docker /usr/bin/docker ENV GOPATH /root/go ENV PATH $PATH:$GOPATH