modify dockerfile

This commit is contained in:
莫振宇 2022-04-11 01:49:56 +08:00
parent e70df03ff7
commit c981d739be

View File

@ -16,7 +16,7 @@ RUN cd / && git clone https://github.com/tuna/tunasync-scripts.git
FROM --platform=$TARGETPLATFORM alpine:3
RUN apk update && apk add --no-cache rsync wget htop bash python3 && \
RUN apk update && apk add --no-cache rsync wget htop bash python3 py3-pip && \
mkdir -p /app && mkdir /data && rm -rf /var/cache/apk/*
RUN wget http://ftp-master.debian.org/ftpsync.tar.gz && tar -vxf *.tar.gz -C / && rm -rf *.tar.gz && cp -rf /distrib/* / && rm -rf /distrib