-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.base
24 lines (17 loc) · 928 Bytes
/
Dockerfile.base
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG FROM_ARG=webdevops/php:latest
FROM ${FROM_ARG}
ENV RUN_EVAL_ENV='' \
PHP_DATE_TIMEZONE='PRC' \
LOCAL_USER_ENV='' \
LOCAL_USER_NUM_ENV=''
# 基础
COPY ./service.d/supervisor.d/localtime.sh /opt/docker/bin/service.d/supervisor.d/localtime.sh
COPY ./service.d/supervisor.d/run-eval-env.sh /opt/docker/bin/service.d/supervisor.d/run-eval-env.sh
COPY ./service.d/supervisor.d/local-user.sh /opt/docker/bin/service.d/supervisor.d/local-user.sh
COPY ./provision-build.d/timezonedb.sh /opt/docker/provision/local-build.d/timezonedb.sh
COPY ./script/docker-build-dir.sh /opt/docker/bin/usr-bin/docker-build-dir.sh
#
ARG BUILD_SCRIPT_ARG=''
RUN bash /opt/docker/bin/usr-bin/docker-build-dir.sh /opt/docker/provision/local-build.d timezonedb.sh;${BUILD_SCRIPT_ARG}
ONBUILD ARG BUILD_SCRIPT_ARG=''
ONBUILD RUN bash /opt/docker/bin/usr-bin/docker-build-dir.sh /opt/docker/provision/local-build.d ${BUILD_SCRIPT_ARG}