FROM debian:sid # Installer les dépendances nécessaires RUN apt update RUN apt install -y debmirror gnupg wget # Importer les clés GPG pour le miroir Debian RUN gpg --keyserver keyserver.ubuntu.com --recv-keys A7236886F3CCCAAD148A27F80E98404D386FA1D9 \ && gpg --keyserver keyserver.ubuntu.com --recv-keys 4CB50190207B4758A3F73A796ED0E7B82643E131 WORKDIR /mirror CMD ["debmirror", "--host=ftp.fr.debian.org", "--root=debian", "--method=http", "--progress", "--dist=sid", "--section=main,contrib,non-free", "--i18n", "--arch=amd64", "--source", "--getcontents", "/mirror"]