Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Packages 'git' and 'ca-certificates' not required anymore, since Dockerfile is within the source code.
  • Loading branch information
adrianparilli authored Aug 30, 2024
1 parent df84146 commit 93e1fb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# based on Docker image created by
# Adrián Parilli <a.parilli@staffwerke.de>
# Adrián Parilli <adrian.parilli@staffwerke.de>
# Uses parent directory as context:
# git clone https://github.com/abbbi/virtnbdbackup
# cd virtnbdbackup
Expand All @@ -21,10 +21,10 @@ COPY . /tmp/build/
RUN \
apt-get update && \
apt-get install -y --no-install-recommends \
openssh-client ca-certificates git python3-all python3-libnbd python3-libvirt python3-lz4 python3-setuptools python3-tqdm qemu-utils python3-lxml python3-paramiko python3-colorlog && \
openssh-client python3-all python3-libnbd python3-libvirt python3-lz4 python3-setuptools python3-tqdm qemu-utils python3-lxml python3-paramiko python3-colorlog && \
cd /tmp/build/ && python3 setup.py install && cd .. && \
apt-get purge -y git ca-certificates && apt-get -y autoremove --purge && apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /virtnbdbackup
apt-get -y autoremove --purge && apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*

# Default folder:
WORKDIR /

0 comments on commit 93e1fb1

Please sign in to comment.