mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 21:30:39 +00:00
fix seccomp profile download
This commit is contained in:
parent
3c3fe685e7
commit
7a36522bc0
@ -11,7 +11,7 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
|
|||||||
|
|
||||||
RUN apk --update add --virtual .build-deps curl && \
|
RUN apk --update add --virtual .build-deps curl && \
|
||||||
mkdir -p /etc/docker/ && \
|
mkdir -p /etc/docker/ && \
|
||||||
curl -SsL -o /etc/docker/default.json https://github.com/moby/moby/blob/19.03/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 && \
|
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
|
||||||
chmod 600 /etc/docker/default.json && \
|
chmod 600 /etc/docker/default.json && \
|
||||||
apk del .build-deps && \
|
apk del .build-deps && \
|
||||||
|
@ -11,7 +11,7 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
|
|||||||
|
|
||||||
RUN apk --update add --virtual .build-deps curl && \
|
RUN apk --update add --virtual .build-deps curl && \
|
||||||
mkdir -p /etc/docker/ && \
|
mkdir -p /etc/docker/ && \
|
||||||
curl -SsL -o /etc/docker/default.json https://github.com/moby/moby/blob/19.03/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 && \
|
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
|
||||||
chmod 600 /etc/docker/default.json && \
|
chmod 600 /etc/docker/default.json && \
|
||||||
apk del .build-deps && \
|
apk del .build-deps && \
|
||||||
|
@ -11,7 +11,7 @@ ENV DOCKER_HOST=unix:///var/run/docker.sock
|
|||||||
|
|
||||||
RUN apk --update add --virtual .build-deps curl && \
|
RUN apk --update add --virtual .build-deps curl && \
|
||||||
mkdir -p /etc/docker/ && \
|
mkdir -p /etc/docker/ && \
|
||||||
curl -SsL -o /etc/docker/default.json https://github.com/moby/moby/blob/19.03/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 && \
|
sed -i 's/SCMP_ACT_ERRNO/SCMP_ACT_TRACE/g' /etc/docker/default.json && \
|
||||||
chmod 600 /etc/docker/default.json && \
|
chmod 600 /etc/docker/default.json && \
|
||||||
apk del .build-deps && \
|
apk del .build-deps && \
|
||||||
|
Loading…
Reference in New Issue
Block a user