Skip to content

Commit 79f3b4a

Browse files
committed
Change the default DOCKER_HOST to tcp://docker:2375 for drone builds
1 parent ffe1bc4 commit 79f3b4a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

images/build/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ RUN set -ex \
177177
&& curl -sL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} \
178178
&& chmod +x /tini
179179

180-
ENV DOCKER_HOST=unix:///workspace/docker.sock
181-
182180
COPY root /
183181

184182
ENTRYPOINT [ "/tini", "-g", "--", "/build/run.sh" ]

makelib/image.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ IMAGE_TEMP_DIR := $(shell mktemp -d)
3131
endif
3232

3333
ifeq ($(DRONE),true)
34-
DOCKER_HOST ?= unix:///workspace/docker.sock
34+
DOCKER_HOST ?= tcp://docker:2375
3535
export DOCKER_HOST
3636
endif
3737

0 commit comments

Comments
 (0)