aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm32v7
diff options
context:
space:
mode:
authorAgileVirus <agilevirus@pop-os.localdomain>2020-07-09 18:47:33 +0100
committerAgileVirus <agilevirus@pop-os.localdomain>2020-07-09 18:47:33 +0100
commitfd9237eb52affce2d202ff3f21ef47a8bb3cf542 (patch)
tree66735ac61bb428678646340074972ce2f5b6ab1b /Dockerfile.arm32v7
parent4bfcc5bc955257d66b792a00f1ca44fa42616255 (diff)
downloadhomer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.tar.gz
homer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.tar.zst
homer-fd9237eb52affce2d202ff3f21ef47a8bb3cf542.zip
Added su-exec to ARM dockerfiles and removed USER line
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r--Dockerfile.arm32v75
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7
index ba9c95d..4a22003 100644
--- a/Dockerfile.arm32v7
+++ b/Dockerfile.arm32v7
@@ -28,14 +28,13 @@ ENV UID 911
28ENV PORT 8080 28ENV PORT 8080
29 29
30RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ 30RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
31 apk add -U darkhttpd && \ 31 apk add -U darkhttpd su-exec && \
32 rm /usr/bin/qemu-arm-static 32 rm /usr/bin/qemu-arm-static
33 33
34COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ 34COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets 35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
36COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh 36COPY entrypoint.sh /entrypoint.sh
37 37
38USER ${USER}
39EXPOSE ${PORT} 38EXPOSE ${PORT}
40VOLUME /www/assets 39VOLUME /www/assets
41ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 40ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]