mirror of
https://github.com/lkddi/Xboard.git
synced 2026-05-01 00:47:28 +08:00
update dockerfile
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@ FROM phpswoole/swoole:php8.2-alpine
|
|||||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
# Install PHP extensions one by one with lower optimization level for ARM64 compatibility
|
# Install PHP extensions one by one with lower optimization level for ARM64 compatibility
|
||||||
RUN CFLAGS="-O1" install-php-extensions pcntl && \
|
RUN CFLAGS="-O0" install-php-extensions pcntl && \
|
||||||
CFLAGS="-O1" install-php-extensions bcmath && \
|
CFLAGS="-O0 -g0" install-php-extensions bcmath && \
|
||||||
install-php-extensions zip && \
|
install-php-extensions zip && \
|
||||||
install-php-extensions redis && \
|
install-php-extensions redis && \
|
||||||
apk --no-cache add shadow sqlite mysql-client mysql-dev mariadb-connector-c git patch supervisor redis && \
|
apk --no-cache add shadow sqlite mysql-client mysql-dev mariadb-connector-c git patch supervisor redis && \
|
||||||
|
|||||||
Reference in New Issue
Block a user