-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
31 lines (27 loc) · 845 Bytes
/
Dockerfile
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
30
31
ARG PHP_VERSION=8.2
ARG DISTRO="alpine"
FROM docker.io/tiredofit/unit-php:${PHP_VERSION}-${DISTRO}
LABEL maintainer="Dave Conroy (github.com/tiredofit)"
ENV CRON_PERIOD=60 \
NGINX_WEBROOT=/www/html \
PHP_ENABLE_DOM=TRUE \
PHP_ENABLE_ICONV=TRUE \
PHP_ENABLE_IGBINARY=TRUE \
PHP_ENABLE_LDAP=TRUE \
PHP_ENABLE_PDO=TRUE \
PHP_ENABLE_PDO_MYSQL=TRUE \
PHP_ENABLE_MYSQLND=TRUE \
PHP_ENABLE_REDIS=TRUE \
PHP_ENABLE_SIMPLEXML=TRUE \
PHP_ENABLE_XML=TRUE \
PHP_ENABLE_XMLREADER=TRUE \
PHP_ENABLE_CREATE_SAMPLE_PHP=FALSE \
UNIT_SITE_ENABLED=matomo \
IMAGE_NAME="tiredofit/matomo" \
IMAGE_REPO_URL="https://github.com/tiredofit/docker-matomo"
RUN source /assets/functions/00-container && \
set -x && \
package update && \
package upgrade && \
package cleanup
COPY install /