This commit is contained in:
parent
53de2d2533
commit
88a7f5b5f8
@ -1,5 +1,6 @@
|
||||
FROM php:8.1-cli
|
||||
|
||||
RUN apt update && apt upgrade -y
|
||||
# installing cron package
|
||||
RUN apt-get update && apt-get -y install cron libbz2-dev curl libcurl4-openssl-dev libxml2-dev libenchant-2-dev libssl-dev libpng-dev libgmp-dev libzip-dev sudo rsync zip unzip libldap2-dev
|
||||
|
||||
|
@ -2,6 +2,8 @@ FROM php:8.1-fpm-alpine
|
||||
|
||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
|
||||
RUN apk update && apk upgrade
|
||||
|
||||
COPY ./config/php.ini-production "$PHP_INI_DIR/php.ini-production"
|
||||
COPY ./config/pool.d "$PHP_INI_DIR/"
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
@ -6,6 +6,8 @@ COPY ./config/php.ini-production "$PHP_INI_DIR/php.ini-production"
|
||||
COPY ./config/pool.d "$PHP_INI_DIR/"
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
RUN apk update && apk upgrade
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
|
||||
&& pecl install uploadprogress \
|
||||
&& docker-php-ext-enable uploadprogress \
|
||||
|
Loading…
x
Reference in New Issue
Block a user