diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-07-15 14:23:29 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-07-15 14:23:29 -0700 |
commit | d05b8d3bf0e4951ea863131b5a0067a5cd339cae (patch) | |
tree | c95b2669a85216dafa67282d8805a8901cf61564 | |
parent | 0ae40f78f837e95ba2ccb04025c6bebcc09d7ab4 (diff) | |
download | homer-d05b8d3bf0e4951ea863131b5a0067a5cd339cae.tar.gz homer-d05b8d3bf0e4951ea863131b5a0067a5cd339cae.tar.zst homer-d05b8d3bf0e4951ea863131b5a0067a5cd339cae.zip |
Uniformise dockerfile
-rw-r--r-- | Dockerfile.arm32v7 | 2 | ||||
-rw-r--r-- | Dockerfile.arm64v8 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 4a22003..3efb5aa 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -28,7 +28,7 @@ ENV UID 911 | |||
28 | ENV PORT 8080 | 28 | ENV PORT 8080 |
29 | 29 | ||
30 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | 30 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ |
31 | apk add -U darkhttpd su-exec && \ | 31 | apk add -U --no-cache darkhttpd su-exec && \ |
32 | rm /usr/bin/qemu-arm-static | 32 | rm /usr/bin/qemu-arm-static |
33 | 33 | ||
34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 index 479f8a1..e6d0a51 100644 --- a/Dockerfile.arm64v8 +++ b/Dockerfile.arm64v8 | |||
@@ -28,7 +28,7 @@ ENV UID 911 | |||
28 | ENV PORT 8080 | 28 | ENV PORT 8080 |
29 | 29 | ||
30 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | 30 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ |
31 | apk add -U darkhttpd su-exec && \ | 31 | apk add -U --no-cache darkhttpd su-exec && \ |
32 | rm /usr/bin/qemu-aarch64-static | 32 | rm /usr/bin/qemu-aarch64-static |
33 | 33 | ||
34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |