Skip to content

Commit 819699d

Browse files
committed
Improved customization of php.ini
1 parent f60b6e7 commit 819699d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker/main/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ RUN locale-gen en_US.UTF-8
55
ENV LANG en_US.UTF-8
66
ENV LC_ALL en_US.UTF-8
77

8-
COPY conf/php.ini /etc/php5/mods-available/docker-boilerplate.ini
98
COPY conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
109
COPY conf/locale.conf /opt/docker/locale.conf
1110
COPY bin/* /opt/docker/
@@ -14,6 +13,8 @@ ADD entrypoint.sh /entrypoint.sh
1413
RUN bash /opt/docker/install.sh
1514
RUN bash /opt/docker/customization.sh
1615

16+
COPY conf/php.ini /etc/php5/mods-available/docker-boilerplate.ini
17+
1718
EXPOSE 9000
1819

1920
VOLUME /docker/

docker/main/bin/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ locale-gen
7474
# Enable php modules
7575
#############################
7676
## custom config
77+
touch /etc/php5/mods-available/docker-boilerplate.ini
7778
php5enmod docker-boilerplate
7879

7980
#############################

0 commit comments

Comments
 (0)