FROM arm64v8/docker:20.10-dind@sha256:9d11bd98bf608cbcc2f132d42e8e558ece0903e2b5852402da9a26de4ea62ff9 LABEL maintainer="Robert Kaussow " LABEL org.opencontainers.image.authors="Robert Kaussow " LABEL org.opencontainers.image.title="drone-docker" LABEL org.opencontainers.image.url="https://github.com/thegeeklab/drone-docker" LABEL org.opencontainers.image.source="https://github.com/thegeeklab/drone-docker" LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/drone-docker" ENV DOCKER_HOST=unix:///var/run/docker.sock RUN apk --update add --virtual .build-deps curl && \ mkdir -p /etc/docker/ && \ curl -SsL -o /etc/docker/default.json https://raw.githubusercontent.com/moby/moby/19.03/profiles/seccomp/default.json && \ sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \ chmod 600 /etc/docker/default.json && \ apk del .build-deps && \ rm -rf /var/cache/apk/* && \ rm -rf /tmp/* ADD dist/drone-docker /bin/ ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "drone-docker"]