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

Commit 7e970a5

Browse files
authored
Merge pull request #161 from jdeathe/centos-6-develop
Release changes for 1.11.1
2 parents fbe392a + a157424 commit 7e970a5

File tree

4 files changed

+37
-23
lines changed

4 files changed

+37
-23
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Summary of release changes for Version 1.
66

77
CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1.
88

9+
### 1.11.1 - 2018-12-08
10+
11+
- Updates image source to [1.11.1](https://github.com/jdeathe/centos-ssh-apache-php/releases/tag/1.11.1).
12+
913
### 1.11.0 - 2018-09-04
1014

1115
- Updates image source to [1.11.0](https://github.com/jdeathe/centos-ssh-apache-php/releases/tag/1.11.0).

Dockerfile

Lines changed: 2 additions & 2 deletions
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:1.11.0
7+
FROM jdeathe/centos-ssh-apache-php:1.11.1
88

99
# -----------------------------------------------------------------------------
1010
# FastCGI support
@@ -46,7 +46,7 @@ ENV APACHE_MPM="worker"
4646
# -----------------------------------------------------------------------------
4747
# Set image metadata
4848
# -----------------------------------------------------------------------------
49-
ARG RELEASE_VERSION="1.11.0"
49+
ARG RELEASE_VERSION="1.11.1"
5050
LABEL \
5151
maintainer="James Deathe <james.deathe@gmail.com>" \
5252
install="docker run \

README.md

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
centos-ssh-apache-php-fcgi
22
==========================
33

4-
Docker Image including CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1.
4+
Docker Image including:
5+
- CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1.
6+
- CentOS-7 7.5.1804 x86_64, Apache 2.4, PHP-CGI 5.4 (FastCGI), PHP memcached 2.2, Zend Opcache 7.0.
57

68
Apache PHP web server, loading only a minimal set of Apache modules by default. Supports custom configuration via environment variables.
79

810
## Overview & links
911

10-
The latest CentOS-6 based release can be pulled from the centos-6 Docker tag. For a specific release tag the convention is `centos-6-1.11.0` or `1.11.0` for the [1.11.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.11.0) release tag.
12+
- `centos-7`, `centos-7-2.0.1`, `2.0.1` [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-7/Dockerfile)
13+
- `centos-6`, `centos-6-1.11.1`, `1.11.1` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/Dockerfile)
1114

12-
- `centos-6`, `centos-6-1.11.0`, `1.11.0` [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-6/Dockerfile)
15+
#### centos-6
16+
17+
The latest CentOS-6 based release can be pulled from the centos-6 Docker tag. It is recommended to select a specific release tag - the convention is `centos-6-1.11.1` or `1.11.1` for the [1.11.1](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/1.11.1) release tag.
18+
19+
#### centos-7
20+
21+
The latest CentOS-7 based release can be pulled from the centos-7 Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-2.0.1` or `2.0.1` for the [2.0.1](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/2.0.1) release tag.
1322

1423
This build of [Apache](https://httpd.apache.org/), (httpd CentOS package), uses the [mod_fcgid](https://httpd.apache.org/mod_fcgid/) module to run [PHP](http://php.net/) as a [FastCGI](http://www.fastcgi.com/) process.
1524

@@ -38,7 +47,7 @@ $ docker run -d \
3847
--name apache-php.pool-1.1.1 \
3948
-p 8080:80 \
4049
-e "APACHE_SERVER_NAME=app-1.local" \
41-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
50+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
4251
```
4352

4453
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.
@@ -65,7 +74,8 @@ On first run, the bootstrap script, ([/usr/sbin/httpd-bootstrap](https://github.
6574
The `apachectl` command can be accessed as follows.
6675

6776
```
68-
$ docker exec -it apache-php.pool-1.1.1 apachectl -h
77+
$ docker exec -it apache-php.pool-1.1.1 \
78+
bash -c "apachectl -h"
6979
```
7080

7181
## Instructions
@@ -87,10 +97,10 @@ $ docker run \
8797
--volume /:/media/root \
8898
--env BASH_ENV="" \
8999
--env ENV="" \
90-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
100+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
91101
/usr/sbin/scmi install \
92102
--chroot=/media/root \
93-
--tag=1.11.0 \
103+
--tag=1.11.1 \
94104
--name=apache-php.pool-1.1.1
95105
```
96106

@@ -105,10 +115,10 @@ $ docker run \
105115
--volume /:/media/root \
106116
--env BASH_ENV="" \
107117
--env ENV="" \
108-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
118+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
109119
/usr/sbin/scmi uninstall \
110120
--chroot=/media/root \
111-
--tag=1.11.0 \
121+
--tag=1.11.1 \
112122
--name=apache-php.pool-1.1.1
113123
```
114124

@@ -123,10 +133,10 @@ $ docker run \
123133
--volume /:/media/root \
124134
--env BASH_ENV="" \
125135
--env ENV="" \
126-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
136+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
127137
/usr/sbin/scmi install \
128138
--chroot=/media/root \
129-
--tag=1.11.0 \
139+
--tag=1.11.1 \
130140
--name=apache-php.pool-1.1.1 \
131141
--manager=systemd \
132142
--register \
@@ -150,7 +160,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
150160
$ eval "sudo -E $(
151161
docker inspect \
152162
-f "{{.ContainerConfig.Labels.install}}" \
153-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
163+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
154164
) --info"
155165
```
156166

@@ -160,7 +170,7 @@ To perform an installation using the docker name `apache-php.pool-1.2.1` simply
160170
$ eval "sudo -E $(
161171
docker inspect \
162172
-f "{{.ContainerConfig.Labels.install}}" \
163-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
173+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
164174
) --name=apache-php.pool-1.2.1"
165175
```
166176

@@ -170,7 +180,7 @@ To uninstall use the *same command* that was used to install but with the `unins
170180
$ eval "sudo -E $(
171181
docker inspect \
172182
-f "{{.ContainerConfig.Labels.uninstall}}" \
173-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
183+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
174184
) --name=apache-php.pool-1.2.1"
175185
```
176186

@@ -181,15 +191,15 @@ With the addition of install/uninstall image labels it is possible to use [Proje
181191
_NOTE:_ A prerequisite of the following examples is that the image has been pulled (or loaded from the release package).
182192

183193
```
184-
$ docker pull jdeathe/centos-ssh-apache-php-fcgi:1.11.0
194+
$ docker pull jdeathe/centos-ssh-apache-php-fcgi:1.11.1
185195
```
186196

187197
To see detailed information about the image run `scmi` with the `--info` option. To see all available `scmi` options run with the `--help` option.
188198

189199
```
190200
$ sudo -E atomic install \
191201
-n apache-php.pool-1.3.1 \
192-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
202+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
193203
--info
194204
```
195205

@@ -198,14 +208,14 @@ To perform an installation using the docker name `apache-php.pool-1.3.1` simply
198208
```
199209
$ sudo -E atomic install \
200210
-n apache-php.pool-1.3.1 \
201-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
211+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
202212
```
203213

204214
Alternatively, you could use the `scmi` options `--name` or `-n` for naming the container.
205215

206216
```
207217
$ sudo -E atomic install \
208-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
218+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
209219
--name apache-php.pool-1.3.1
210220
```
211221

@@ -214,7 +224,7 @@ To uninstall use the *same command* that was used to install but with the `unins
214224
```
215225
$ sudo -E atomic uninstall \
216226
-n apache-php.pool-1.3.1 \
217-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
227+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
218228
```
219229

220230
#### Environment Variables
@@ -343,7 +353,7 @@ $ docker run -d \
343353
--env "APACHE_SERVER_NAME=app-1.local" \
344354
--env "APACHE_MOD_SSL_ENABLED=true" \
345355
--volume apache-php.pool-1.1.1.data-ssl:/etc/services-config/ssl \
346-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
356+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
347357
```
348358

349359
##### APACHE_MPM

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

Lines changed: 1 addition & 1 deletion
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=1.11.0"
55+
Environment="DOCKER_IMAGE_TAG=1.11.1"
5656
Environment="DOCKER_PORT_MAP_TCP_80=8080"
5757
Environment="DOCKER_PORT_MAP_TCP_443=9443"
5858
Environment="DOCKER_PORT_MAP_TCP_8443=NULL"

0 commit comments

Comments
 (0)