Skip to content

Commit

Permalink
allow SETENV: when running geesefs with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Oct 11, 2024
1 parent b07811f commit 0ccca66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vaultwarden-fly-io/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ccca66

Please sign in to comment.