From 0ccca669f4c4c94981e9fbaf09af742ce722761f Mon Sep 17 00:00:00 2001 From: Niklas Rosenstein Date: Fri, 11 Oct 2024 17:54:43 +0200 Subject: [PATCH] allow SETENV: when running geesefs with sudo --- vaultwarden-fly-io/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vaultwarden-fly-io/Dockerfile b/vaultwarden-fly-io/Dockerfile index 699bf2c..5564f90 100644 --- a/vaultwarden-fly-io/Dockerfile +++ b/vaultwarden-fly-io/Dockerfile @@ -18,7 +18,7 @@ COPY --from=ghcr.io/dani-garcia/vaultwarden:1.32.1 /vaultwarden /usr/bin/vaultwa COPY --from=litestream /litestream /usr/bin/litestream COPY --from=geesefs /geesefs /usr/bin/geesefs COPY --from=minio/mc:RELEASE.2024-10-02T08-27-28Z /usr/bin/mc /usr/bin/mc -RUN echo 'vaultwarden ALL=(ALL) NOPASSWD: /usr/bin/geesefs' >> /etc/sudoers +RUN echo 'vaultwarden ALL=(ALL) NOPASSWD:SETENV: /usr/bin/geesefs' >> /etc/sudoers WORKDIR /etc/vaultwarden COPY entrypoint.sh . RUN addgroup -S vaultwarden && adduser -S vaultwarden -G vaultwarden