We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8228154 commit 08de2b4Copy full SHA for 08de2b4
CHANGES.md
@@ -0,0 +1,5 @@
1
+# CHANGES
2
+
3
+## 0.1.0
4
5
+- Feature: Init
Dockerfile
dockerd-entrypoint.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Entrypoint copied from:
+# https://github.com/aws/aws-codebuild-docker-images/blob/1.12.0/ubuntu/standard/2.0/dockerd-entrypoint.sh
6
+set -e
7
8
+/usr/bin/dockerd \
9
+ --host=unix:///var/run/docker.sock \
10
+ --host=tcp://127.0.0.1:2375 \
11
+ --storage-driver=overlay2 &>/var/log/docker.log &
12
13
+tries=0
14
+d_timeout=60
15
16
+until docker info >/dev/null 2>&1
17
+do
18
+ if [ "$tries" -gt "$d_timeout" ]; then
19
+ cat /var/log/docker.log
20
+ echo 'Timed out trying to connect to internal docker host.' >&2
21
+ exit 1
22
+ fi
23
+ tries=$(( $tries + 1 ))
24
+ sleep 1
25
+done
26
27
+eval "$@"
0 commit comments