mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-01 03:22:48 +08:00
Merge pull request #1578 from nextcloud/enh/205/migrate-borg
migrate borgbackup container to alpine
This commit is contained in:
commit
27060ec992
1 changed files with 6 additions and 9 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue