This commit is contained in:
2025-01-25 21:38:51 +08:00
parent 45fc7e1156
commit 12b3418ae1
26 changed files with 270 additions and 26 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM alibaba-cloud-linux-3-registry.cn-hangzhou.cr.aliyuncs.com/alinux3/alinux3:latest
LABEL MAINTAINER="tianjun@odboy.cn"
ENV TimeZone=Asia/Shanghai
WORKDIR /home/admin
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone; \
sed -i 's/mirrors.cloud.aliyuncs.com/mirrors.aliyun.com/' /etc/yum.repos.d/*.repo; \
yum install \
tar \
wget \
net-tools \
bind-utils -y;