Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 4901ef8

Browse files
committed
#166: Adds patch for php-hello-world app's php-wrapper to exclude sourcing of removed configuration file.
1 parent aca23d8 commit 4901ef8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ RUN cat \
4545
# Package installation
4646
# ------------------------------------------------------------------------------
4747
RUN sed -i \
48-
-e 's~^description =.*$~description = "This CentOS / Apache / PHP-CGI (FastCGI) service is running in a container."~' \
49-
${PACKAGE_PATH}/etc/views/index.ini
48+
-e 's~^description =.*$~description = "This CentOS / Apache / PHP-CGI (FastCGI) service is running in a container."~' \
49+
${PACKAGE_PATH}/etc/views/index.ini \
50+
&& sed -r -i \
51+
-e 's~^(source /etc/httpd-bootstrap\.conf)~#\1~' \
52+
${PACKAGE_PATH}/bin/php-wrapper
5053

5154
# ------------------------------------------------------------------------------
5255
# Set default environment variables used to configure the service container

0 commit comments

Comments
 (0)