From ac75ba8e78604ce2b470d0241e4d3775f0824b93 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 7 Feb 2023 00:42:34 +0100 Subject: [PATCH] useradd --- epaper-station/Dockerfile | 1 + epaper-station/config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/epaper-station/Dockerfile b/epaper-station/Dockerfile index 46272fb..f6b4202 100644 --- a/epaper-station/Dockerfile +++ b/epaper-station/Dockerfile @@ -13,6 +13,7 @@ RUN mkdir /public && cp /app/online_viewer.html /public/index.html && cp /app/no RUN sed -i 's/`ws:\/\/localhost:8000\/ws`/window.location.href.replace("http", "ws") + "\/ws\/"/g' /public/index.html ADD rootfs / +RUN useradd -ms /bin/sh www-data # Corrects permissions for s6 v3 RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \ diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 9e2e384..5898085 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.28 +version: 1.0.0.29 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: epaper-station description: Publish Pictures to EPaper pricetags