Skip to content

Commit

Permalink
Merge pull request drone-plugins#325 from drone-plugins/revert-322-up…
Browse files Browse the repository at this point in the history
…date-seccomp

Revert "Update seccomp to 20.10 docker"
  • Loading branch information
bradrydzewski authored Jul 11, 2021
2 parents dd359df + c10d367 commit f753800
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
9 changes: 0 additions & 9 deletions docker/docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,5 @@ FROM docker:19.03.8-dind

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/20.10/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/linux/amd64/drone-docker /bin/
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]
2 changes: 1 addition & 1 deletion docker/docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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/20.10/profiles/seccomp/default.json && \
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 && \
Expand Down
9 changes: 0 additions & 9 deletions docker/docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,5 @@ FROM arm64v8/docker:19.03.8-dind

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/20.10/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/linux/arm64/drone-docker /bin/
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]

0 comments on commit f753800

Please sign in to comment.