refactor: v2 (#5)
Some checks failed
Build and Release Docker Image / Create and Push Multi-Arch Manifest (push) Has been cancelled
Build and Release Docker Image / Build and Push arm64 (push) Has been cancelled
Build and Release Docker Image / Build and Push amd64 (push) Has been cancelled

Reviewed-on: #5
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #5.
This commit is contained in:
2025-02-07 20:56:02 +01:00
committed by t.behrendt
parent 07832050dc
commit 6ff6e8759e
8 changed files with 384 additions and 167 deletions

View File

@@ -1,14 +1,16 @@
FROM alpine:3.17
FROM alpine:3.21
# Setup correct TZ
RUN apk add alpine-conf
RUN /sbin/setup-timezone -z UTC
RUN apk add restic curl
RUN apk update && apk add --no-cache \
bash \
curl \
restic \
postgresql-client \
jq
WORKDIR /app
COPY ./src/entry.sh /app/
COPY ./src/backup.sh /app/
COPY src/backup.sh /app/backup.sh
CMD [ "/bin/sh", "entry.sh" ]
RUN chmod +x /app/backup.sh
ENTRYPOINT ["/app/backup.sh"]