2023-03-15 01:56:09 +00:00
|
|
|
FROM fedora:37
|
|
|
|
|
|
|
|
ARG borg_version=1.2.3
|
|
|
|
|
|
|
|
RUN dnf install procps-ng borgbackup-$borg_version --assumeyes && \
|
|
|
|
useradd --uid 1000 borg && \
|
|
|
|
mkdir --parents /backups && \
|
|
|
|
dnf clean all --assumeyes
|
|
|
|
|
2024-02-01 04:44:28 +00:00
|
|
|
WORKDIR /
|
2023-03-15 01:56:09 +00:00
|
|
|
|
|
|
|
HEALTHCHECK CMD pgrep --exact borg
|
|
|
|
|
|
|
|
USER 1000:1000
|
|
|
|
|
|
|
|
CMD ["/bin/bash", "borg"]
|