Skip to content

Commit

Permalink
Workaround issue with 23.1.0 dind image
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Mar 14, 2023
1 parent 70cf369 commit 3f9d812
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dind.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ USER root
RUN apk add --no-cache ruby-rake ruby-dev build-base && \
gem install bundler json docker-api --no-document

# Temporary workaround for https://github.com/gocd/gocd/issues/11378
COPY --chmod=555 provision/run-docker-daemon.sh /

USER go
3 changes: 3 additions & 0 deletions provision/run-docker-daemon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
$(which dind) dockerd --host=unix:///var/run/docker.sock > /var/log/dockerd.log 2>&1 &
disown

0 comments on commit 3f9d812

Please sign in to comment.