update
This commit is contained in:
parent
68b33fd103
commit
945a38ec12
@ -1,4 +1,4 @@
|
|||||||
FROM php:7.4.33-apache-bullseye
|
FROM php:8.0-apache-bullseye
|
||||||
|
|
||||||
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
@ -13,8 +13,14 @@ RUN rm /usr/local/bin/install-php-extensions && rm -rf /var/lib/apt/lists/* && r
|
|||||||
|
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
|
||||||
|
COPY swoole_loader80.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930
|
||||||
|
|
||||||
|
RUN docker-php-ext-enable swoole_loader80
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
COPY php.ini /usr/local/etc/php/php.ini
|
COPY php.ini /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh && rm -rf /usr/src/*
|
RUN chmod +x /entrypoint.sh && rm -rf /usr/src/*
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
Loading…
Reference in New Issue
Block a user