patch seccomp profile
This commit is contained in:
@@ -17,6 +17,7 @@ RUN apk --update add --virtual .build-deps curl && \
|
||||
mkdir -p /usr/lib/docker/cli-plugins/ && \
|
||||
curl -SsL -o /usr/lib/docker/cli-plugins/docker-buildx "https://github.com/docker/buildx/releases/download/v${BUILDX_VERSION}/buildx-v${BUILDX_VERSION}.linux-amd64" && \
|
||||
curl -SsL -o /var/lib/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' /var/lib/docker/default.json && \
|
||||
chmod 600 /var/lib/docker/default.json && \
|
||||
chmod 755 /usr/lib/docker/cli-plugins/docker-buildx && \
|
||||
apk del .build-deps && \
|
||||
|
||||
Reference in New Issue
Block a user