From 50972506c7bff17fa3f9ab0c6372bb52f3c9a4e5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Aug 2021 16:00:59 +0200 Subject: [PATCH] Update Dockerfile --- joplin/Dockerfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/joplin/Dockerfile b/joplin/Dockerfile index 3d62968c2..a041d7e05 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -22,17 +22,9 @@ RUN \ | tar -xzf - --strip 1 -C /tmp/bashio \ && mv /tmp/bashio/lib /usr/lib/bashio \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ - && rm -rf /tmp/bashio \ - ################### - # Configure image # - ################### - && touch /data/options.json \ - && chmod u+r /data/options.json || true + && rm -rf /tmp/bashio -# Copy root filesystem -ARG user=joplin -USER $user -COPY --chown=$user:$user rootfs / +COPY rootfs / RUN chmod +x /run.sh ENTRYPOINT [ "/usr/bin/env" ]