migrate borgbackup to alpine

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-22 17:50:49 +01:00
parent af3d99dafc
commit ab3ef06581

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