新安装的1Panel 安装PHP就错误
日志:
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.18kB done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/php:7.4.33-fpm-alpine
#3 DONE 19.9s
#4 [ 1/12] FROM docker.io/library/php:7.4.33-fpm-alpine@sha256:0aeb129a60daff2874c5c70fcd9d88cdf3015b4fb4cc7c3f1a32a21e84631036
#4 CACHED
#5 [internal] load build context
#5 transferring context: 6.47MB 0.0s done
#5 DONE 0.0s
#6 [ 2/12] RUN if [ mirrors.ustc.edu.cn ] ; then sed -i “s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g” /etc/apk/repositories ; fi
#6 DONE 0.2s
#7 [ 3/12] ADD ./extensions/install-php-extensions /usr/local/bin/
#7 DONE 0.1s
#8 [ 4/12] RUN chmod uga+x /usr/local/bin/install-php-extensions
#8 DONE 0.2s
#9 [ 5/12] COPY ./extensions /tmp/extensions
#9 DONE 0.1s
#10 [ 6/12] WORKDIR /tmp/extensions
#10 DONE 0.1s
#11 [ 7/12] RUN chmod +x install.sh && sh install.sh
#11 0.244
#11 0.244 ============================================
#11 0.244 Install extensions from : install.sh
#11 0.244 PHP version : 7.4.33
#11 0.244 Extra Extensions :
#11 0.244 Multicore Compilation : -j8
#11 0.244 Container package url : mirrors.ustc.edu.cn
#11 0.244 Work directory : /tmp/extensions
#11 0.244 ============================================
#11 0.244
#11 DONE 0.3s
#12 [ 8/12] RUN apk --no-cache add tzdata && cp “/usr/share/zoneinfo/Asia/Shanghai” /etc/localtime && echo “Asia/Shanghai” > /etc/timezone
#12 0.384 fetch https://mirrors.ustc.edu.cn/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#12 5.390 WARNING: Ignoring https://mirrors.ustc.edu.cn/alpine/v3.16/main: temporary error (try again later)
#12 5.390 fetch https://mirrors.ustc.edu.cn/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
#12 10.40 WARNING: Ignoring https://mirrors.ustc.edu.cn/alpine/v3.16/community: temporary error (try again later)
#12 10.40 ERROR: unable to select packages:
#12 10.40 tzdata (no such package):
#12 10.40 required by: world[tzdata]
#12 ERROR: process “/bin/sh -c apk --no-cache add tzdata && cp "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone” did not complete successfully: exit code: 1
[ 8/12] RUN apk --no-cache add tzdata && cp “/usr/share/zoneinfo/Asia/Shanghai” /etc/localtime && echo “Asia/Shanghai” > /etc/timezone:
#12 0.384 fetch https://mirrors.ustc.edu.cn/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#12 5.390 WARNING: Ignoring https://mirrors.ustc.edu.cn/alpine/v3.16/main: temporary error (try again later)
#12 5.390 fetch https://mirrors.ustc.edu.cn/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
#12 10.40 WARNING: Ignoring https://mirrors.ustc.edu.cn/alpine/v3.16/community: temporary error (try again later)
#12 10.40 ERROR: unable to select packages:
#12 10.40 tzdata (no such package):
#12 10.40 required by: world[tzdata]
failed to solve: process “/bin/sh -c apk --no-cache add tzdata && cp "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone” did not complete successfully: exit code: 1
build.log (3.1 KB)