2022-06-30 13:50:01 +00:00
|
|
|
FROM docker/buildx-bin:v0.8 as buildx
|
2021-06-24 14:22:54 +00:00
|
|
|
|
|
|
|
FROM docker:20
|
|
|
|
|
|
|
|
RUN apk add bash ip6tables pigz sysstat procps lsof
|
|
|
|
|
|
|
|
COPY etc/docker/daemon.json /etc/docker/daemon.json
|
|
|
|
|
2022-06-30 13:50:01 +00:00
|
|
|
COPY --from=buildx /buildx /root/.docker/cli-plugins/docker-buildx
|
2021-06-24 14:22:54 +00:00
|
|
|
|
|
|
|
COPY ./entrypoint ./entrypoint
|
|
|
|
COPY ./docker-entrypoint.d/* ./docker-entrypoint.d/
|
|
|
|
|
|
|
|
ENV DOCKER_TMPDIR=/data/docker/tmp
|
|
|
|
|
|
|
|
ENTRYPOINT ["./entrypoint"]
|
|
|
|
|
2022-06-30 13:50:01 +00:00
|
|
|
CMD ["dockerd", "-p", "/var/run/docker.pid"]
|