mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 21:30:39 +00:00
24 lines
1.0 KiB
Docker
24 lines
1.0 KiB
Docker
|
FROM arm64v8/docker:19.03-dind
|
||
|
|
||
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||
|
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://github.com/moby/moby/blob/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 release/arm64/drone-docker /bin/
|
||
|
|
||
|
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "drone-docker"]
|