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

Commit e3b2936

Browse files
authored
Merge pull request #110 from jdeathe/centos-6-develop
Release changes for 1.8.0
2 parents b30ba37 + ae083b2 commit e3b2936

6 files changed

+13
-6
lines changed

Dockerfile

+10-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# CentOS-6, Apache 2.2, PHP 5.3, PHP Memcached 1.0, PHP APC 3.1.
55
#
66
# =============================================================================
7-
FROM jdeathe/centos-ssh-apache-php:centos-6-1.7.3
7+
FROM jdeathe/centos-ssh-apache-php:centos-6-1.8.0
88

99
MAINTAINER James Deathe <james.deathe@gmail.com>
1010

@@ -31,6 +31,13 @@ ADD opt/scmi \
3131
ADD etc/systemd/system \
3232
/etc/systemd/system/
3333

34+
# -----------------------------------------------------------------------------
35+
# Package installation
36+
# -----------------------------------------------------------------------------
37+
RUN sed -i \
38+
-e 's~^description =.*$~description = "This CentOS / Apache / PHP (FastCGI) service is running in a container."~' \
39+
${PACKAGE_PATH}/etc/views/index.ini
40+
3441
# -----------------------------------------------------------------------------
3542
# Set default environment variables used to configure the service container
3643
# -----------------------------------------------------------------------------
@@ -39,7 +46,7 @@ ENV APACHE_MPM="worker"
3946
# -----------------------------------------------------------------------------
4047
# Set image metadata
4148
# -----------------------------------------------------------------------------
42-
ARG RELEASE_VERSION="1.7.2"
49+
ARG RELEASE_VERSION="1.8.0"
4350
LABEL \
4451
install="docker run \
4552
--rm \
@@ -67,4 +74,4 @@ jdeathe/centos-ssh-apache-php-fcgi:centos-6-${RELEASE_VERSION} \
6774
org.deathe.url="https://github.com/jdeathe/centos-ssh-apache-php-fcgi" \
6875
org.deathe.description="CentOS-6 6.8 x86_64 - Apache 2.2, PHP 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1."
6976

70-
CMD ["/usr/bin/supervisord", "--configuration=/etc/supervisord.conf"]
77+
CMD ["/usr/sbin/httpd-startup", "/usr/bin/supervisord", "--configuration=/etc/supervisord.conf"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $ docker run -d \
4343

4444
Now point your browser to `http://{docker-host}:8080` where `{docker-host}` is the host name of your docker server and, if all went well, you should see the "Hello, world!" page.
4545

46-
![Hello World - PHP FastCGI Screen Shot - Chrome](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/centos-6/images/hello-world-php-fcgi-chrome.png)
46+
![PHP "Hello, world!" - Chrome screenshot](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/centos-6/images/php-hello-world-php-chrome-fcgi.png)
4747

4848
To be able to access the server using the "app-1.local" domain name you need to add a hosts file entry locally; such that the IP address of the Docker host resolves to the name "app-1.local". Alternatively, you can use the elinks browser installed in the container. Note that because you are using the browser from the container you access the site over port 80.
4949

@@ -52,7 +52,7 @@ $ docker exec -it apache-php.pool-1.1.1 \
5252
elinks http://app-1.local
5353
```
5454

55-
![Hello World - PHP FastCGI Screen Shot - eLinks](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/centos-6/images/hello-world-php-fcgi-elinks.png)
55+
![PHP "Hello, world!" - eLinks screenshot](https://raw.github.com/jdeathe/centos-ssh-apache-php-fcgi/centos-6/images/php-hello-world-php-elinks-fcgi.png)
5656

5757
To verify the container is initialised and running successfully by inspecting the container's logs.
5858

etc/systemd/system/centos-ssh-apache-php-fcgi@.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Environment="DOCKER_USER=jdeathe"
5252
Environment="DOCKER_CONTAINER_OPTS="
5353
Environment="DOCKER_IMAGE_PACKAGE_PATH=/var/opt/scmi/packages"
5454
Environment="DOCKER_IMAGE_NAME=centos-ssh-apache-php-fcgi"
55-
Environment="DOCKER_IMAGE_TAG=centos-6-1.7.2"
55+
Environment="DOCKER_IMAGE_TAG=centos-6-1.8.0"
5656
Environment="DOCKER_PORT_MAP_TCP_80=8080"
5757
Environment="DOCKER_PORT_MAP_TCP_443=9443"
5858
Environment="DOCKER_PORT_MAP_TCP_8443=NULL"
63.8 KB
Loading
47.5 KB
Loading

images/php-hello-world-min-fcgi.png

49.7 KB
Loading

0 commit comments

Comments
 (0)