File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2121# docker build -f Dockerfile-dev -t api-tools .
2222# docker run -it -p "8080:80" -v $PWD:/var/www api-tools
2323#
24- FROM php:7.3 -apache
24+ FROM php:8.0 -apache
2525
2626RUN apt-get update \
27- && apt-get install -y git libzip-dev \
27+ && apt-get install -y git libzip-dev libicu-dev \
2828 && docker-php-ext-install zip \
29+ && docker-php-ext-configure intl \
30+ && docker-php-ext-install intl \
2931 && a2enmod rewrite \
3032 && sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/000-default.conf \
3133 && mv /var/www/html /var/www/public \
32- && curl -sS https://getcomposer.org/installer \
33- | php -- --install-dir=/usr/local/bin --filename=composer \
34+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
3435 && echo "AllowEncodedSlashes On" >> /etc/apache2/apache2.conf
3536
3637WORKDIR /var/www
You can’t perform that action at this time.
0 commit comments