Merge pull request #1578 from nextcloud/enh/205/migrate-borg

migrate borgbackup container to alpine
This commit is contained in:
Simon L 2023-01-15 18:30:53 +01:00 committed by GitHub
commit 27060ec992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,14 @@
FROM debian:bullseye-20230109-slim
FROM alpine:3.17.1
RUN set -ex; \
\
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list; \
apt-get update; \
apt-get install -y --no-install-recommends borgbackup -t bullseye-backports; \
apt-get install -y --no-install-recommends \
apk add --no-cache \
bash \
borgbackup \
rsync \
fuse \
python3-llfuse \
jq \
; \
rm -rf /var/lib/apt/lists/*
py3-llfuse \
jq
VOLUME /root