We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a8466b + e35492e commit 3b9659dCopy full SHA for 3b9659d
1 file changed
docker/Dockerfile-pandoc
@@ -1,11 +1,10 @@
1
-FROM php:8.3-apache
+FROM php:8.1-apache
2
3
RUN apt-get update \
4
&& apt-get install -y --no-install-recommends --no-install-suggests \
5
pandoc \
6
jq \
7
awscli \
8
- libpng-dev \
9
&& apt-get clean
10
11
COPY --chown=www-data:www-data pandoc/* /var/www/html/
@@ -17,7 +16,10 @@ RUN mkdir \
17
16
/var/www/datatmp \
18
/var/www/html/imgs
19
20
-RUN docker-php-ext-install gd
+# Install PHP extensions: gd
+RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev \
21
+ && docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
22
+ && docker-php-ext-install gd
23
24
# enable php production defaults
25
RUN cp $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini
0 commit comments