0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-29 04:30:36 +00:00

add patch to all arch dockerfiles

This commit is contained in:
Robert Kaussow 2021-01-16 22:02:54 +01:00
parent 3a1c3f61cd
commit 842f6dc244
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 1 deletions

View File

@ -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 && \

View File

@ -1,4 +1,4 @@
FROM arm32v7/docker:20.10-dind
FROM arm32v7/docker:19.03-dind
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -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 && \