mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 05:06:12 +08:00
fix: 解决 php 8.2.5 构建失败的问题
This commit is contained in:
parent
43ef4b1205
commit
a8cb09145c
@ -5,21 +5,20 @@ ARG TZ
|
||||
ARG PHP_EXTENSIONS
|
||||
ARG CONTAINER_PACKAGE_URL
|
||||
|
||||
|
||||
RUN if [ $CONTAINER_PACKAGE_URL ] ; then sed -i "s/dl-cdn.alpinelinux.org/${CONTAINER_PACKAGE_URL}/g" /etc/apk/repositories ; fi
|
||||
|
||||
|
||||
ADD ./extensions/install-php-extensions /usr/local/bin/
|
||||
RUN chmod uga+x /usr/local/bin/install-php-extensions
|
||||
|
||||
RUN apk --no-cache add tzdata
|
||||
|
||||
COPY ./extensions /tmp/extensions
|
||||
WORKDIR /tmp/extensions
|
||||
RUN chmod +x install.sh \
|
||||
&& sh install.sh \
|
||||
&& rm -rf /tmp/extensions \
|
||||
|
||||
|
||||
RUN apk --no-cache add tzdata \
|
||||
RUN apk add tzdata \
|
||||
&& cp "/usr/share/zoneinfo/$TZ" /etc/localtime \
|
||||
&& echo "$TZ" > /etc/timezone
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user