This commit is contained in:
2025-11-01 21:18:29 +08:00
parent 35478d43d6
commit a607719b46
119 changed files with 815 additions and 1221 deletions

View File

@@ -1,10 +1,19 @@
ARG ARCH
FROM harbor.colben.cn/general/alpine$ARCH
FROM harbor.colben.cn/general/alpine-python$ARCH:latest
MAINTAINER Colben colbenlee@gmail.com
ARG ALI
ADD --chown=root:root /ADD/ /opt/
RUN apk update \
&& apk add --no-cache certbot openssl jq \
&& apk add --no-cache certbot openssl jq bind-tools \
&& mkdir -p /etc/letsencrypt /var/log/letsencrypt \
&& rm -rf /var/cache/apk/*
&& curl -LO https://aliyuncli.alicdn.com/$ALI \
&& tar zxf $ALI \
&& mv aliyun /usr/bin/ \
&& pip3 install \
-i https://pypi.tuna.tsinghua.edu.cn/simple \
--trusted-host pypi.tuna.tsinghua.edu.cn \
--break-system-packages \
tccli \
&& rm -rf $ALI /root/.cache/pip /var/cache/apk/*
CMD ["/opt/ccmd"]