mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-23 10:05:23 +00:00
本地编译更改基础镜像为arm64v8/alpine:3.12,并使用国内镜像源
This commit is contained in:
parent
05426489f0
commit
41ebed71c7
@ -1,12 +1,13 @@
|
||||
FROM arm64v8/alpine
|
||||
# FROM arm64v8/alpine
|
||||
# FROM arm64v8/alpine:latest
|
||||
#FROM arm64v8/alpine:3.12
|
||||
FROM arm64v8/alpine:3.12
|
||||
ENV TZ Asia/Shanghai
|
||||
ENV cron="0 9 * * 0"
|
||||
RUN set -ex \
|
||||
# && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories \
|
||||
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories \
|
||||
# && sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.cn/' /etc/apk/repositories \
|
||||
&& apk --update add --no-cache \
|
||||
&& apk update \
|
||||
&& apk add --no-cache \
|
||||
tzdata \
|
||||
php7 php7-curl php7-json php7-mbstring php7-dom php7-simplexml php7-xml php7-zip \
|
||||
git \
|
||||
|
Loading…
x
Reference in New Issue
Block a user