-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (31 loc) · 1.08 KB
/
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
32
33
34
35
36
37
38
39
40
FROM europe-docker.pkg.dev/flownative/docker/base:bookworm
LABEL org.opencontainers.image.authors="Robert Lemke <[email protected]>"
# -----------------------------------------------------------------------------
# PHP
# Latest versions: https://www.php.net/downloads.php
ARG PHP_VERSION
ENV PHP_VERSION=${PHP_VERSION}
ENV PHP_BASE_PATH="/opt/flownative/php" \
PATH="/opt/flownative/php/bin:$PATH" \
LOG_DEBUG="false"
USER root
COPY root-files /
RUN export FLOWNATIVE_LOG_PATH_AND_FILENAME=/dev/stdout \
&& /build.sh init \
&& /build.sh prepare \
&& /build.sh build \
&& /build.sh build_extension vips \
&& /build.sh build_extension igbinary \
&& /build.sh disable_extension igbinary \
&& /build.sh build_extension imagick \
&& /build.sh build_extension yaml \
&& /build.sh build_extension phpredis \
&& /build.sh build_extension xdebug \
&& /build.sh disable_extension xdebug \
&& /build.sh build_extension ssh2 \
&& /build.sh clean
USER 1000
EXPOSE 9000 9001
WORKDIR ${PHP_BASE_PATH}
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "run" ]