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

Commit 188394f

Browse files
authored
Merge pull request #213 from jdeathe/centos-6-develop
Release changes for 1.13.0
2 parents 0d30f1b + a0a2f04 commit 188394f

17 files changed

+414
-2501
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
.env
12
packages
23
dist

CHANGELOG.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# Change Log
22

3-
## centos-6
3+
## 1 - centos-6
44

5-
Summary of release changes for Version 1.
5+
Summary of release changes.
66

7-
CentOS-6 6.10 x86_64, Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1.
7+
### 1.13.0 - 2019-07-20
8+
9+
- Updates image source to [1.13.0](https://github.com/jdeathe/centos-ssh-apache-php/releases/tag/1.13.0).
10+
- Updates description in `centos-ssh-apache-php-fcgi.register@.service`.
11+
- Updates CHANGELOG.md to simplify maintenance.
12+
- Updates README.md to simplify contents and improve readability.
13+
- Updates README-short.txt to apply to all image variants.
14+
- Updates Dockerfile `org.deathe.description` metadata LABEL for consistency + include PHP redis module.
15+
- Adds `.env` files to `.gitignore` for exclusion from version control.
16+
- Adds `php-wrapper` and `fcgid.conf` as part of the service; removing dependency on the php-hello-world app.
17+
- Removes unused `DOCKER_PORT_MAP_TCP_22` variable from environment includes.
818

919
### 1.12.0 - 2019-04-14
1020

Dockerfile

+14-17
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
FROM jdeathe/centos-ssh-apache-php:1.12.0
1+
FROM jdeathe/centos-ssh-apache-php:1.13.0
22

3-
ARG RELEASE_VERSION="1.12.0"
3+
ARG RELEASE_VERSION="1.13.0"
44

55
# ------------------------------------------------------------------------------
6-
# - Base install of required packages
6+
# Base install of required packages
77
# ------------------------------------------------------------------------------
8-
RUN rpm --rebuilddb \
9-
&& yum -y erase \
8+
RUN yum -y erase \
109
php-5.3.3-49.el6 \
1110
&& yum -y install \
1211
--setopt=tsflags=nodocs \
@@ -26,35 +25,33 @@ ADD src /
2625

2726
# ------------------------------------------------------------------------------
2827
# Provisioning
29-
# - Relocate default fcgid configuration to ensure correct loading order
28+
# - Disable Apache default fcgid configuration; replaced with 00-fcgid.conf
3029
# - Replace placeholders with values in systemd service unit template
3130
# - Set permissions
3231
# ------------------------------------------------------------------------------
33-
RUN cat \
32+
RUN truncate -s 0 \
3433
/etc/httpd/conf.d/fcgid.conf \
35-
> /etc/httpd/conf.d/00-fcgid.conf \
36-
&& truncate -s 0 \
34+
&& chmod 444 \
3735
/etc/httpd/conf.d/fcgid.conf \
3836
&& sed -i \
3937
-e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
40-
/etc/systemd/system/centos-ssh-apache-php-fcgi@.service \
41-
&& chmod 700 \
42-
/usr/{bin/healthcheck,sbin/httpd-{bootstrap,wrapper}}
38+
/etc/systemd/system/centos-ssh-apache-php-fcgi@.service
4339

4440
# ------------------------------------------------------------------------------
4541
# Package installation
4642
# ------------------------------------------------------------------------------
4743
RUN sed -i \
4844
-e 's~^description =.*$~description = "This CentOS / Apache / PHP-CGI (FastCGI) service is running in a container."~' \
4945
${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
46+
&& rm -f \
47+
${PACKAGE_PATH}/bin/php-wrapper \
48+
${PACKAGE_PATH}/etc/httpd/conf.d/50-fcgid.conf
5349

5450
# ------------------------------------------------------------------------------
5551
# Set default environment variables used to configure the service container
5652
# ------------------------------------------------------------------------------
57-
ENV APACHE_MPM="worker"
53+
ENV \
54+
APACHE_MPM="worker"
5855

5956
# ------------------------------------------------------------------------------
6057
# Set image metadata
@@ -85,6 +82,6 @@ jdeathe/centos-ssh-apache-php-fcgi:${RELEASE_VERSION} \
8582
org.deathe.license="MIT" \
8683
org.deathe.vendor="jdeathe" \
8784
org.deathe.url="https://github.com/jdeathe/centos-ssh-apache-php-fcgi" \
88-
org.deathe.description="CentOS-6 6.10 x86_64 - Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP APC 3.1."
85+
org.deathe.description="Apache 2.2, PHP-CGI 5.3 (FastCGI), PHP memcached 1.0, PHP redis 2.2, PHP APC 3.1 - CentOS-6 6.10 x86_64."
8986

9087
CMD ["/usr/bin/supervisord", "--configuration=/etc/supervisord.conf"]

0 commit comments

Comments
 (0)