Skip to content

Commit f753800

Browse files
Merge pull request #325 from drone-plugins/revert-322-update-seccomp
Revert "Update seccomp to 20.10 docker"
2 parents dd359df + c10d367 commit f753800

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

docker/docker/Dockerfile.linux.amd64

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,5 @@ FROM docker:19.03.8-dind
22

33
ENV DOCKER_HOST=unix:///var/run/docker.sock
44

5-
RUN apk --update add --virtual .build-deps curl && \
6-
mkdir -p /etc/docker/ && \
7-
curl -SsL -o /etc/docker/default.json https://raw.githubusercontent.com/moby/moby/20.10/profiles/seccomp/default.json && \
8-
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
9-
chmod 600 /etc/docker/default.json && \
10-
apk del .build-deps && \
11-
rm -rf /var/cache/apk/* && \
12-
rm -rf /tmp/*
13-
145
ADD release/linux/amd64/drone-docker /bin/
156
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]

docker/docker/Dockerfile.linux.arm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
44

55
RUN apk --update add --virtual .build-deps curl && \
66
mkdir -p /etc/docker/ && \
7-
curl -SsL -o /etc/docker/default.json https://raw.githubusercontent.com/moby/moby/20.10/profiles/seccomp/default.json && \
7+
curl -SsL -o /etc/docker/default.json https://raw.githubusercontent.com/moby/moby/19.03/profiles/seccomp/default.json && \
88
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
99
chmod 600 /etc/docker/default.json && \
1010
apk del .build-deps && \

docker/docker/Dockerfile.linux.arm64

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,5 @@ FROM arm64v8/docker:19.03.8-dind
22

33
ENV DOCKER_HOST=unix:///var/run/docker.sock
44

5-
RUN apk --update add --virtual .build-deps curl && \
6-
mkdir -p /etc/docker/ && \
7-
curl -SsL -o /etc/docker/default.json https://raw.githubusercontent.com/moby/moby/20.10/profiles/seccomp/default.json && \
8-
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
9-
chmod 600 /etc/docker/default.json && \
10-
apk del .build-deps && \
11-
rm -rf /var/cache/apk/* && \
12-
rm -rf /tmp/*
13-
145
ADD release/linux/arm64/drone-docker /bin/
156
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]

0 commit comments

Comments
 (0)