Supprimer debmirror/Dockerfile

This commit is contained in:
wilou 2024-04-25 09:06:02 +00:00
parent af819cde25
commit 618f37dd83

View File

@ -1,25 +0,0 @@
FROM debian:bookworm
MAINTAINER Wilfried Huysschaert <wilfried@sympatech.fr>
RUN apt-get update && apt-get install -y \
adduser \
git \
rsync
RUN adduser \
--system \
--home=/opt/ftp-master.debian.org/archvsync/ \
--shell=/bin/bash \
--no-create-home \
--group \
archvsync
RUN mkdir -p /opt/ftp-master.debian.org/
WORKDIR /opt/ftp-master.debian.org/
RUN git clone https://ftp-master.debian.org/git/archvsync.git/
RUN chown -R archvsync:archvsync ./archvsync
WORKDIR /opt/ftp-master.debian.org/archvsync/
ENV PATH /opt/ftp-master.debian.org/archvsync/bin:${PATH}
CMD ["ftpsync"]