-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (29 loc) · 812 Bytes
/
Dockerfile
File metadata and controls
29 lines (29 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM php:8.2.20-apache
COPY php.ini "$PHP_INI_DIR/php.ini"
COPY apache2.conf /etc/apache2
COPY openssl.cnf /etc/ssl/openssl.cnf
LABEL maintainer Mats Gundersen <mats.gundersen@tietoevry.com>
RUN apt-get update -y && apt-get install -y \
nano \
zlib1g-dev \
libzip-dev \
zip \
curl \
libcurl4-openssl-dev \
libpng-dev \
task-spooler \
mariadb-client \
iputils-ping \
openssh-client \
vim \
telnet \
cron \
ntp \
dos2unix \
&& docker-php-ext-install gd \
&& docker-php-ext-configure curl \
&& docker-php-ext-install zip \
&& docker-php-ext-install mysqli \
&& apt-get -y clean \
&& rm -rf /var/cache/apt /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN a2enmod rewrite && a2enmod headers && a2enmod expires