Fix dockerd not being present
parent
627b605716
commit
40df5c877e
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,9 @@
|
||||||
FROM docker/buildx-bin:v0.8 as buildx
|
FROM docker:dind
|
||||||
|
|
||||||
FROM docker:20
|
RUN apk add bash ip6tables pigz sysstat procps lsof gcompat
|
||||||
|
|
||||||
RUN apk add bash ip6tables pigz sysstat procps lsof
|
|
||||||
|
|
||||||
COPY etc/docker/daemon.json /etc/docker/daemon.json
|
COPY etc/docker/daemon.json /etc/docker/daemon.json
|
||||||
|
|
||||||
COPY --from=buildx /buildx /root/.docker/cli-plugins/docker-buildx
|
|
||||||
|
|
||||||
COPY ./entrypoint ./entrypoint
|
COPY ./entrypoint ./entrypoint
|
||||||
COPY ./docker-entrypoint.d/* ./docker-entrypoint.d/
|
COPY ./docker-entrypoint.d/* ./docker-entrypoint.d/
|
||||||
|
|
||||||
|
@ -15,4 +11,4 @@ ENV DOCKER_TMPDIR=/data/docker/tmp
|
||||||
|
|
||||||
ENTRYPOINT ["./entrypoint"]
|
ENTRYPOINT ["./entrypoint"]
|
||||||
|
|
||||||
CMD ["dockerd", "-p", "/var/run/docker.pid"]
|
CMD ["dockerd", "-p", "/var/run/docker.pid"]
|
||||||
|
|
|
@ -10,4 +10,4 @@ fi
|
||||||
|
|
||||||
echo "Running $@"
|
echo "Running $@"
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
Loading…
Reference in New Issue