Upgraded OS base to Debian 12 (Bookworm) / Added SSH client
This commit is contained in:
parent
5bc5cf3a99
commit
1f891ed43b
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ARG source="https://github.com/abbbi/virtnbdbackup"
|
ARG source="https://github.com/abbbi/virtnbdbackup"
|
||||||
|
|
||||||
@ -7,13 +7,13 @@ LABEL container.source.description="Backup utiliy for Libvirt kvm / qemu with In
|
|||||||
LABEL container.description="virtnbdbackup and virtnbdrestore (plus depedencies) to run on hosts with libvirt >= 6.0.0"
|
LABEL container.description="virtnbdbackup and virtnbdrestore (plus depedencies) to run on hosts with libvirt >= 6.0.0"
|
||||||
LABEL container.source=$source
|
LABEL container.source=$source
|
||||||
LABEL container.version="1.1"
|
LABEL container.version="1.1"
|
||||||
LABEL maintainer="Adrián Parilli <a.parilli@staffwerke.de>"
|
LABEL maintainer="Adrián Parilli <adrian.parilli@staffwerke.de>"
|
||||||
|
|
||||||
# Deploys dependencies and pulls sources, installing virtnbdbackup and removing unnecessary content:
|
# Deploys dependencies and pulls sources, installing virtnbdbackup and removing unnecessary content:
|
||||||
RUN \
|
RUN \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
ca-certificates git python3-all python3-libnbd python3-libvirt python3-lz4 python3-setuptools python3-tqdm qemu-utils python3-lxml python3-paramiko && \
|
ca-certificates git python3-all openssh-client python3-libnbd python3-libvirt python3-lz4 python3-setuptools python3-tqdm qemu-utils python3-lxml python3-paramiko && \
|
||||||
git clone $source.git && \
|
git clone $source.git && \
|
||||||
cd virtnbdbackup && python3 setup.py install && cd .. && \
|
cd virtnbdbackup && python3 setup.py install && cd .. && \
|
||||||
apt-get purge -y git ca-certificates && apt-get -y autoremove --purge && apt-get clean && \
|
apt-get purge -y git ca-certificates && apt-get -y autoremove --purge && apt-get clean && \
|
||||||
|
Loading…
Reference in New Issue
Block a user