Skip to content

Commit

Permalink
install missing extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Headary committed Dec 19, 2023
1 parent b454d8c commit f0106b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM php:8.1-apache
# install needed packages
RUN apt update && apt install -y \
gettext \
libfreetype-dev \
libjpeg62-turbo-dev \
libpng-dev \
libxml2-dev \
locales \
npm \
Expand All @@ -17,7 +20,8 @@ RUN echo 'cs_CZ.UTF-8 UTF-8' >> /etc/locale.gen && \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# install apache EXTENSIONS
RUN EXTENSIONS="gettext soap opcache" \
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
RUN EXTENSIONS="gettext soap opcache gd" \
&& docker-php-ext-install $EXTENSIONS \
&& docker-php-ext-enable $EXTENSIONS
RUN a2enmod rewrite proxy proxy_http
Expand Down

0 comments on commit f0106b8

Please sign in to comment.