File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 11
2- ARG BASE_IMAGE=ghcr.io/dtyq/php-dockerfile:8.4-alpine-3.22 -swow-1.6.1 -jsonpath-parle-xlswriter
2+ ARG BASE_IMAGE=ghcr.io/dtyq/php-dockerfile:8.4-alpine-3.23 -swow-ci -jsonpath-parle-xlswriter
33FROM ${BASE_IMAGE}
44
55ARG TARGETARCH
@@ -19,6 +19,19 @@ RUN mkdir -p /etc/php/conf.d && \
1919 echo "memory_limit = -1" > /etc/php/conf.d/memory-limit.ini && \
2020 echo "max_execution_time = 0" > /etc/php/conf.d/max-execution-time.ini
2121
22+ # install dependencies
23+ RUN --mount=type=cache,id=alpine-apk-3.23-${TARGETARCH},target=/var/cache/apk \
24+ # setup apk mirror
25+ sed -i.bak "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories && \
26+ apk update && \
27+ apk add \
28+ icu-data-full \
29+ tzdata \
30+ tini \
31+ && \
32+ # restore apk repositories
33+ mv /etc/apk/repositories.bak /etc/apk/repositories
34+
2235COPY . /opt/www
2336
2437WORKDIR /opt/www
You can’t perform that action at this time.
0 commit comments