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; \ RUN set -ex; \
\ \
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list; \ apk add --no-cache \
apt-get update; \ bash \
apt-get install -y --no-install-recommends borgbackup -t bullseye-backports; \ borgbackup \
apt-get install -y --no-install-recommends \
rsync \ rsync \
fuse \ fuse \
python3-llfuse \ py3-llfuse \
jq \ jq
; \
rm -rf /var/lib/apt/lists/*
VOLUME /root VOLUME /root