File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM php:7.3.19-apache
2+
3+ # environment settings
4+ ARG DEBIAN_FRONTEND="noninteractive"
5+ ENV LANG="C.UTF-8"
6+
7+
8+ # mkdir man fixes jre install issue on php:apache image
9+ RUN \
10+ echo "**** install runtime packages ****" && \
11+ mkdir -p /usr/share/man/man1 && \
12+ apt-get update && \
13+ apt-get install -y \
14+ --no-install-recommends \
15+ libfreetype6-dev \
16+ libjpeg62-turbo-dev \
17+ libpng-dev \
18+ mediainfo && \
19+ docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2 --with-png-dir=/usr/include --with-jpeg-dir=/usr/include && \
20+ docker-php-ext-install -j$(nproc) gd && \
21+ echo "**** remove accessibility properties that sometimes cause an error ****" && \
22+ find /etc -name "accessibility.properties" -exec rm -fv '{}' + && \
23+ find /usr -name "accessibility.properties" -exec rm -fv '{}' + && \
24+ echo "**** cleanup ****" && \
25+ rm -rf \
26+ /tmp/* \
27+ /var/lib/apt/lists/* \
28+ /var/tmp/*
You can’t perform that action at this time.
0 commit comments