Allow backup to be run as non-root user

This commit is contained in:
Frederik Ring
2024-02-21 17:44:24 +01:00
parent 060a6daa7a
commit e8307a2b5b
11 changed files with 131 additions and 6 deletions

View File

@@ -13,7 +13,8 @@ FROM alpine:3.19
WORKDIR /root
RUN apk add --no-cache ca-certificates
RUN apk add --no-cache ca-certificates && \
chmod a+rw /var/lock
COPY --from=builder /app/cmd/backup/backup /usr/bin/backup