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

Commit abc3f0a

Browse files
authored
Merge pull request #162 from jdeathe/centos-7-develop
Release changes for 2.0.1
2 parents 7a51792 + 3cda917 commit abc3f0a

File tree

4 files changed

+38
-29
lines changed

4 files changed

+38
-29
lines changed

CHANGELOG.md

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

77
CentOS-7 7.5.1804 x86_64, Apache 2.4, PHP-CGI 5.4 (FastCGI), PHP memcached 2.2, Zend Opcache 7.0.
88

9+
### 2.0.1 - 2018-12-08
10+
11+
- Updates source image to [2.4.1](https://github.com/jdeathe/centos-ssh/releases/tag/2.4.1).
12+
- Updates `httpd` packages to 2.4.6-88.
13+
- Updates `php` packages to 5.4.16-46.
14+
- Updates php-hello-world to [0.11.0](https://github.com/jdeathe/php-hello-world/releases/tag/0.11.0).
15+
- Adds `php-pecl-redis` package to support Redis.
16+
917
### 2.0.0 - 2018-10-14
1018

1119
- Initial release

Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
# CentOS-7, Apache 2.4, PHP 5.4, PHP Memcached 2.2, Zend Opcache.
55
#
66
# =============================================================================
7-
# FROM jdeathe/centos-ssh-apache-php:1.11.0
8-
FROM jdeathe/centos-ssh:2.4.0
7+
FROM jdeathe/centos-ssh:2.4.1
98

109
# Use the form ([{fqdn}-]{package-name}|[{fqdn}-]{provider-name})
1110
ARG PACKAGE_NAME="app"
1211
ARG PACKAGE_PATH="/opt/${PACKAGE_NAME}"
13-
ARG PACKAGE_RELEASE_VERSION="0.10.0"
12+
ARG PACKAGE_RELEASE_VERSION="0.11.0"
1413

1514
# -----------------------------------------------------------------------------
1615
# FastCGI support
@@ -21,13 +20,15 @@ RUN rpm --rebuilddb \
2120
--disableplugin=fastestmirror \
2221
elinks-0.12-0.37.pre6.el7 \
2322
fcgi-2.4.0-25.el7 \
24-
httpd-2.4.6-80.el7.centos.1 \
25-
httpd-tools-2.4.6-80.el7.centos.1 \
23+
httpd-2.4.6-88.el7.centos \
24+
httpd-tools-2.4.6-88.el7.centos \
2625
mod_fcgid-2.3.9-4.el7_4.1 \
27-
mod_ssl-2.4.6-80.el7.centos.1 \
28-
php-cli-5.4.16-45.el7 \
26+
mod_ssl-2.4.6-88.el7.centos \
27+
php-cli-5.4.16-46.el7 \
28+
php-common-5.4.16-46.el7 \
2929
php-pecl-zendopcache-7.0.5-2.el7 \
3030
php-pecl-memcached-2.2.0-1.el7 \
31+
php-pecl-redis-2.2.8-1.el7 \
3132
&& yum versionlock add \
3233
elinks \
3334
fcgi \
@@ -320,7 +321,7 @@ ENV APACHE_AUTOSTART_HTTPD_BOOTSTRAP=true \
320321
# -----------------------------------------------------------------------------
321322
# Set image metadata
322323
# -----------------------------------------------------------------------------
323-
ARG RELEASE_VERSION="2.0.0"
324+
ARG RELEASE_VERSION="2.0.1"
324325
LABEL \
325326
maintainer="James Deathe <james.deathe@gmail.com>" \
326327
install="docker run \

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Apache PHP web server, loading only a minimal set of Apache modules by default.
99

1010
## Overview & links
1111

12-
- `centos-7`, `centos-7-2.0.0`, `2.0.0` [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/blob/centos-7/Dockerfile)
13-
- `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)
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)
1414

1515
#### centos-6
1616

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.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.
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.
1818

1919
#### centos-7
2020

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.0` or `2.0.0` for the [2.0.0](https://github.com/jdeathe/centos-ssh-apache-php-fcgi/tree/2.0.0) release tag.
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.
2222

2323
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.
2424

@@ -47,7 +47,7 @@ $ docker run -d \
4747
--name apache-php.pool-1.1.1 \
4848
-p 8080:80 \
4949
-e "APACHE_SERVER_NAME=app-1.local" \
50-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
50+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
5151
```
5252

5353
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.
@@ -97,10 +97,10 @@ $ docker run \
9797
--volume /:/media/root \
9898
--env BASH_ENV="" \
9999
--env ENV="" \
100-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
100+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
101101
/usr/sbin/scmi install \
102102
--chroot=/media/root \
103-
--tag=1.11.0 \
103+
--tag=1.11.1 \
104104
--name=apache-php.pool-1.1.1
105105
```
106106

@@ -115,10 +115,10 @@ $ docker run \
115115
--volume /:/media/root \
116116
--env BASH_ENV="" \
117117
--env ENV="" \
118-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
118+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
119119
/usr/sbin/scmi uninstall \
120120
--chroot=/media/root \
121-
--tag=1.11.0 \
121+
--tag=1.11.1 \
122122
--name=apache-php.pool-1.1.1
123123
```
124124

@@ -133,10 +133,10 @@ $ docker run \
133133
--volume /:/media/root \
134134
--env BASH_ENV="" \
135135
--env ENV="" \
136-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
136+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
137137
/usr/sbin/scmi install \
138138
--chroot=/media/root \
139-
--tag=1.11.0 \
139+
--tag=1.11.1 \
140140
--name=apache-php.pool-1.1.1 \
141141
--manager=systemd \
142142
--register \
@@ -160,7 +160,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
160160
$ eval "sudo -E $(
161161
docker inspect \
162162
-f "{{.ContainerConfig.Labels.install}}" \
163-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
163+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
164164
) --info"
165165
```
166166

@@ -170,7 +170,7 @@ To perform an installation using the docker name `apache-php.pool-1.2.1` simply
170170
$ eval "sudo -E $(
171171
docker inspect \
172172
-f "{{.ContainerConfig.Labels.install}}" \
173-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
173+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
174174
) --name=apache-php.pool-1.2.1"
175175
```
176176

@@ -180,7 +180,7 @@ To uninstall use the *same command* that was used to install but with the `unins
180180
$ eval "sudo -E $(
181181
docker inspect \
182182
-f "{{.ContainerConfig.Labels.uninstall}}" \
183-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
183+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
184184
) --name=apache-php.pool-1.2.1"
185185
```
186186

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

193193
```
194-
$ docker pull jdeathe/centos-ssh-apache-php-fcgi:1.11.0
194+
$ docker pull jdeathe/centos-ssh-apache-php-fcgi:1.11.1
195195
```
196196

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

199199
```
200200
$ sudo -E atomic install \
201201
-n apache-php.pool-1.3.1 \
202-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
202+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
203203
--info
204204
```
205205

@@ -208,14 +208,14 @@ To perform an installation using the docker name `apache-php.pool-1.3.1` simply
208208
```
209209
$ sudo -E atomic install \
210210
-n apache-php.pool-1.3.1 \
211-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
211+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
212212
```
213213

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

216216
```
217217
$ sudo -E atomic install \
218-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0 \
218+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1 \
219219
--name apache-php.pool-1.3.1
220220
```
221221

@@ -224,7 +224,7 @@ To uninstall use the *same command* that was used to install but with the `unins
224224
```
225225
$ sudo -E atomic uninstall \
226226
-n apache-php.pool-1.3.1 \
227-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
227+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
228228
```
229229

230230
#### Environment Variables
@@ -353,7 +353,7 @@ $ docker run -d \
353353
--env "APACHE_SERVER_NAME=app-1.local" \
354354
--env "APACHE_MOD_SSL_ENABLED=true" \
355355
--volume apache-php.pool-1.1.1.data-ssl:/etc/services-config/ssl \
356-
jdeathe/centos-ssh-apache-php-fcgi:1.11.0
356+
jdeathe/centos-ssh-apache-php-fcgi:1.11.1
357357
```
358358

359359
##### 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=2.0.0"
55+
Environment="DOCKER_IMAGE_TAG=2.0.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)