Install debmirror in base image

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
Shengqi Chen 2023-12-02 15:56:05 +08:00
parent 1dcba6775d
commit ae5b2c995b
No known key found for this signature in database
GPG Key ID: 6EE389C0F18AF774

View File

@ -2,7 +2,7 @@ FROM debian:bullseye
LABEL maintainer="Miao Wang <miao.wang@tuna.tsinghua.edu.cn>"
RUN apt-get update && \
apt-get install --no-install-recommends -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 ack composer php-curl php-zip libnss-unknown xz-utils patch unzip openssh-client
apt-get install --no-install-recommends -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 ack composer php-curl php-zip libnss-unknown xz-utils patch unzip openssh-client debmirror
RUN if [ "$(uname -m)" != "x86_64" -a "$(uname -m)" != "i386" ]; then \
apt-get install --no-install-recommends -y libxml2-dev libxslt1-dev zlib1g-dev libssl-dev libffi-dev ;\