File tree 8 files changed +25
-26
lines changed
8 files changed +25
-26
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ LABEL summary="$SUMMARY" \
27
27
name="centos/php-56-centos7" \
28
28
com.redhat.component="rh-php56-docker" \
29
29
version="5.6" \
30
- release= "1 " \
30
+ usage= "s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/5.6/test/test-app centos/php-56-centos7 sample-server " \
31
31
maintainer=
"SoftwareCollections.org <[email protected] >"
32
32
33
33
# Install Apache httpd and PHP
@@ -41,12 +41,11 @@ RUN yum install -y centos-release-scl && \
41
41
yum clean all -y
42
42
43
43
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
44
- APP_ROOT=/opt/app-root \
45
- APP_DATA=/opt/app-root/src \
44
+ APP_DATA=${APP_ROOT}/src \
46
45
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php56/root/usr/share/pear \
47
46
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php56 \
48
47
PHP_HTTPD_CONF_FILE=rh-php56-php.conf \
49
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
48
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
50
49
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
51
50
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
52
51
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ LABEL summary="$SUMMARY" \
27
27
name="rhscl/php-56-rhel7" \
28
28
com.redhat.component="rh-php56-docker" \
29
29
version="5.6" \
30
- release="3"
30
+ usage="s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/5.6/test/test-app rhscl/php-56-rhel7 sample-server" \
31
+ maintainer="SoftwareCollections.org <
[email protected] >"
31
32
32
33
# Install Apache httpd and PHP
33
34
RUN yum install -y yum-utils && \
@@ -44,12 +45,11 @@ RUN yum install -y yum-utils && \
44
45
yum clean all -y
45
46
46
47
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
47
- APP_ROOT=/opt/app-root \
48
- APP_DATA=/opt/app-root/src \
48
+ APP_DATA=${APP_ROOT}/src \
49
49
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php56/root/usr/share/pear \
50
50
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php56 \
51
51
PHP_HTTPD_CONF_FILE=rh-php56-php.conf \
52
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
52
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
53
53
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
54
54
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
55
55
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ LABEL summary="$SUMMARY" \
27
27
name="centos/php-70-centos7" \
28
28
com.redhat.component="rh-php70-docker" \
29
29
version="7.0" \
30
- release= "1 " \
30
+ usage= "s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/7.0/test/test-app centos/php-70-centos7 sample-server " \
31
31
maintainer=
"SoftwareCollections.org <[email protected] >"
32
32
33
33
# Install Apache httpd and PHP
@@ -42,12 +42,11 @@ RUN yum install -y centos-release-scl && \
42
42
yum clean all -y
43
43
44
44
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
45
- APP_ROOT=/opt/app-root \
46
- APP_DATA=/opt/app-root/src \
45
+ APP_DATA=${APP_ROOT}/src \
47
46
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php70/root/usr/share/pear \
48
47
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php70 \
49
48
PHP_HTTPD_CONF_FILE=rh-php70-php.conf \
50
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
49
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
51
50
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
52
51
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
53
52
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ LABEL summary="$SUMMARY" \
27
27
name="rhscl/php-70-rhel7" \
28
28
com.redhat.component="rh-php70-docker" \
29
29
version="7.0" \
30
- release="5.0"
30
+ usage="s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/7.0/test/test-app rhscl/php-70-rhel7 sample-server" \
31
+ maintainer="SoftwareCollections.org <
[email protected] >"
31
32
32
33
# Install Apache httpd and PHP
33
34
RUN yum install -y yum-utils && \
@@ -44,12 +45,11 @@ RUN yum install -y yum-utils && \
44
45
yum clean all -y
45
46
46
47
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
47
- APP_ROOT=/opt/app-root \
48
- APP_DATA=/opt/app-root/src \
48
+ APP_DATA=${APP_ROOT}/src \
49
49
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php70/root/usr/share/pear \
50
50
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php70 \
51
51
PHP_HTTPD_CONF_FILE=rh-php70-php.conf \
52
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
52
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
53
53
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
54
54
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
55
55
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ LABEL summary="$SUMMARY" \
27
27
name="centos/php-71-centos7" \
28
28
com.redhat.component="rh-php71-docker" \
29
29
version="1" \
30
+ usage="s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/7.1/test/test-app centos/php-71-centos7 sample-server" \
30
31
maintainer=
"SoftwareCollections.org <[email protected] >"
31
32
32
33
# Install Apache httpd and PHP
@@ -41,12 +42,11 @@ RUN yum install -y centos-release-scl && \
41
42
yum clean all -y
42
43
43
44
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
44
- APP_ROOT=/opt/app-root \
45
- APP_DATA=/opt/app-root/src \
45
+ APP_DATA=${APP_ROOT}/src \
46
46
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php71/root/usr/share/pear \
47
47
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php71 \
48
48
PHP_HTTPD_CONF_FILE=rh-php71-php.conf \
49
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
49
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
50
50
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
51
51
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
52
52
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ LABEL summary="$SUMMARY" \
33
33
com.redhat.component="$NAME" \
34
34
version="$VERSION" \
35
35
release="$RELEASE" \
36
+ usage="s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/7.1/test/test-app $FGC/$NAME sample-server" \
36
37
maintainer="SoftwareCollections.org <
[email protected] >"
37
38
38
39
# Install Apache httpd and PHP
@@ -45,12 +46,11 @@ RUN INSTALL_PKGS="php php-mysqlnd php-bcmath \
45
46
yum clean all -y
46
47
47
48
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
48
- APP_ROOT=/opt/app-root \
49
- APP_DATA=/opt/app-root/src \
49
+ APP_DATA=${APP_ROOT}/src \
50
50
PHP_DEFAULT_INCLUDE_PATH=/usr/share/pear \
51
51
PHP_SYSCONF_PATH=/etc/ \
52
52
PHP_HTTPD_CONF_FILE=php.conf \
53
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
53
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
54
54
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
55
55
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
56
56
HTTPD_VAR_RUN=/var/run/httpd \
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ LABEL summary="$SUMMARY" \
27
27
name="rhscl/php-71-rhel7" \
28
28
com.redhat.component="rh-php71-docker" \
29
29
version="1"
30
+ usage="s2i build https://github.com/sclorg/s2i-php-container.git --context-dir=/7.1/test/test-app rhscl/php-71-rhel7 sample-server" \
31
+ maintainer="SoftwareCollections.org <
[email protected] >"
30
32
31
33
# Install Apache httpd and PHP
32
34
RUN yum install -y yum-utils && \
@@ -43,12 +45,11 @@ RUN yum install -y yum-utils && \
43
45
yum clean all -y
44
46
45
47
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
46
- APP_ROOT=/opt/app-root \
47
- APP_DATA=/opt/app-root/src \
48
+ APP_DATA=${APP_ROOT}/src \
48
49
PHP_DEFAULT_INCLUDE_PATH=/opt/rh/rh-php71/root/usr/share/pear \
49
50
PHP_SYSCONF_PATH=/etc/opt/rh/rh-php71 \
50
51
PHP_HTTPD_CONF_FILE=rh-php71-php.conf \
51
- HTTPD_CONFIGURATION_PATH=/opt/app-root /etc/conf.d \
52
+ HTTPD_CONFIGURATION_PATH=${APP_ROOT} /etc/conf.d \
52
53
HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
53
54
HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
54
55
HTTPD_VAR_RUN=/var/run/httpd \
You can’t perform that action at this time.
0 commit comments