awsbck 0.3.10

Utility to backup a folder to AWS S3, once or periodically.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM gcr.io/distroless/static-debian12:nonroot

ARG TARGETOS
ARG TARGETARCH

WORKDIR /awsbck

# Copy the binary with correct permissions (requires buildx?)
COPY --chmod=0755 ./${TARGETOS}_${TARGETARCH}/awsbck .

USER nonroot:nonroot

# We use entrypoint to allow passing arguments to the binary using `CMD`
ENTRYPOINT ["/awsbck/awsbck"]