mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-10 02:48:14 -05:00
update dockerfile
This commit is contained in:
parent
1dfd7fa8c5
commit
68d42a514f
@ -3,8 +3,8 @@ FROM phpswoole/swoole:php8.2-alpine
|
||||
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
|
||||
RUN CFLAGS="-O1" install-php-extensions pcntl && \
|
||||
CFLAGS="-O1" install-php-extensions bcmath && \
|
||||
RUN CFLAGS="-O0" install-php-extensions pcntl && \
|
||||
CFLAGS="-O0 -g0" install-php-extensions bcmath && \
|
||||
install-php-extensions zip && \
|
||||
install-php-extensions redis && \
|
||||
apk --no-cache add shadow sqlite mysql-client mysql-dev mariadb-connector-c git patch supervisor redis && \
|
||||
|
Loading…
Reference in New Issue
Block a user