Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions 18.06/dind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:18.06

ARG DOCKER_HOST
ENV DOCKER_HOST=$DOCKER_HOST

# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
RUN set -eux; \
apk add --no-cache \
Expand Down
4 changes: 3 additions & 1 deletion 18.06/dind/dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
set -e

DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}

# no arguments passed
# or first arg is `-f` or `--some-option`
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# add our default arguments
set -- dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--host="${DOCKER_HOST}" \
"$@"
fi

Expand Down
3 changes: 3 additions & 0 deletions 18.09-rc/dind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:18.09-rc

ARG DOCKER_HOST
ENV DOCKER_HOST=$DOCKER_HOST

# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
RUN set -eux; \
apk add --no-cache \
Expand Down
4 changes: 3 additions & 1 deletion 18.09-rc/dind/dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
set -e

DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}

# no arguments passed
# or first arg is `-f` or `--some-option`
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# add our default arguments
set -- dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--host="${DOCKER_HOST}" \
"$@"
fi

Expand Down
3 changes: 3 additions & 0 deletions 18.09/dind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:18.09

ARG DOCKER_HOST
ENV DOCKER_HOST=$DOCKER_HOST

# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
RUN set -eux; \
apk add --no-cache \
Expand Down
4 changes: 3 additions & 1 deletion 18.09/dind/dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
set -e

DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}

# no arguments passed
# or first arg is `-f` or `--some-option`
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# add our default arguments
set -- dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--host="${DOCKER_HOST}" \
"$@"
fi

Expand Down
3 changes: 3 additions & 0 deletions 19.03-rc/dind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:19.03-rc

ARG DOCKER_HOST
ENV DOCKER_HOST=$DOCKER_HOST

# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
RUN set -eux; \
apk add --no-cache \
Expand Down
4 changes: 3 additions & 1 deletion 19.03-rc/dind/dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
set -e

DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}

# no arguments passed
# or first arg is `-f` or `--some-option`
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# add our default arguments
set -- dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--host="${DOCKER_HOST}" \
"$@"
fi

Expand Down
3 changes: 3 additions & 0 deletions Dockerfile-dind.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:%%VERSION%%

ARG DOCKER_HOST
ENV DOCKER_HOST=$DOCKER_HOST

# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
RUN set -eux; \
apk add --no-cache \
Expand Down
4 changes: 3 additions & 1 deletion dockerd-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/sh
set -e

DOCKER_HOST=${DOCKER_HOST:-tcp://0.0.0.0:2375}

# no arguments passed
# or first arg is `-f` or `--some-option`
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# add our default arguments
set -- dockerd \
--host=unix:///var/run/docker.sock \
--host=tcp://0.0.0.0:2375 \
--host="${DOCKER_HOST}" \
"$@"
fi

Expand Down