Skip to content

Commit 1c013ab

Browse files
authored
Merge pull request #3 from DefangLabs/kevin/syslink
symlink so dockerd can be found in both locations
2 parents da7eff0 + 056ea4b commit 1c013ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ RUN apt-get -y install \
3434
RUN mkdir -p /root/.docker && \
3535
echo '{"credsStore": "ecr-login"}' > /root/.docker/config.json
3636

37+
# Make a symlink for dockerd so it can be found by codebuild
38+
RUN ln -s /usr/bin/dockerd /usr/local/bin/dockerd
39+
3740
# Add amazon-ecr-credential-helper to PATH
3841
ENV PATH="/usr/bin:$PATH"
3942

0 commit comments

Comments
 (0)