Skip to content

Commit cdfba3c

Browse files
author
Ric Harvey
committed
update to nginx 1.11.10/versioning/composer fix closes #95
1 parent 59e4b25 commit cdfba3c

File tree

6 files changed

+38
-29
lines changed

6 files changed

+38
-29
lines changed

CHANGELOG

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4-
## [Unreleased]
4+
## [1.1.2] - 2017-2-17
55
### Added
6+
- Bumped nginx version to 1.11.10
7+
- changed pull script to do composer install (container scripts 0.2.6)
8+
- added --no-dev to composer install thx @SamMousa
9+
- Moved to semver
610

7-
## [0.2.1] - 2016-7-13
11+
## [1.1.1] - 2017-2-14
812
### Added
9-
- Added options to set PHP values @richarvey
10-
- Added default to hide nginx and php version with overrride @richarvey
11-
12-
## [0.2.0] - 2016-6-15
13-
### Added
14-
- updated to php7 @richarvey
15-
16-
## [0.1.1] - 2016-6-15
17-
### Added
18-
- Added php5-gd, php5-intl, php5-memcache, php5-sqlite3, php5-pgsql, php5-xml, php5-xsl @richarvey
19-
20-
## [0.1.0] - 2016-06-15
21-
### Added
22-
- Pull in alpine build @drobertson2
23-
- Merge git scripts from old stable @richarvey
24-
- Tested Tamplating @richarvey
25-
26-
## [0.0.0] - 2016-6-14
27-
### Added
28-
- Port nginx/php fpm to alpine @danroberston2
13+
- Stable Release

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV fpm_conf /usr/local/etc/php-fpm.d/www.conf
77
ENV php_vars /usr/local/etc/php/conf.d/docker-vars.ini
88
ENV composer_hash 55d6ead61b29c7bdee5cccfb50076874187bd9f21f65d8991d46ec5cc90518f447387fb9f76ebae1fbbacf329e583e30
99

10-
ENV NGINX_VERSION 1.11.9
10+
ENV NGINX_VERSION 1.11.10
1111

1212
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
1313
&& CONFIG="\

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ This is a Dockerfile/image to build a container for nginx and php-fpm, with the
77

88
If you have improvements or suggestions please open an issue or pull request on the GitHub project page.
99

10-
### Versions
11-
| Tag | Nginx | PHP | Alpine |
10+
### Versioning
11+
| Docker Tag | GitHub Release | Nginx Version | PHP Version | Alpine Version |
1212
|-----|-------|-----|--------|
13-
| latest | 1.11.9 | 7.1.1 | 3.4 |
14-
| php71 | 1.11.9 | 7.1.1 | 3.4 |
13+
| latest | Master Branch |1.11.10 | 7.1.1 | 3.4 |
14+
15+
For other tags please see: [versioning](docs/versioning.md)
1516

1617
### Links
1718
- [https://github.com/ngineered/nginx-php-fpm](https://github.com/ngineered/nginx-php-fpm)
@@ -38,6 +39,7 @@ For more detailed examples and explanations please refer to the documentation.
3839
## Documentation
3940

4041
- [Building from source](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/building.md)
42+
- [Versioning](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/versioning.md)
4143
- [Config Flags](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/config_flags.md)
4244
- [Git Auth](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/git_auth.md)
4345
- [Personal Access token](https://github.com/ngineered/nginx-php-fpm/blob/master/docs/git_auth.md#personal-access-token)

docs/versioning.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Versioning
2+
We are now introducing versioning so users can stick to specific versions of software. As we are dealing with three upstream sources (nginx, php and alpine) plus our own scripts this all gets a little complex, but this document will provide a definitive source of tags and versions.
3+
4+
We will use the [semver](http://ricostacruz.com/cheatsheets/semver.html) style notation for versioning:
5+
6+
>This follows the format MAJOR.MINOR.PATCH (eg, 1.2.6)
7+
>
8+
- MAJOR version changes to nginx, php-fpm, alpine or potential breaking feature changes
9+
- MINOR version changes to nginx, php-fpm or scripts that are still backwards-compatible with previous versions
10+
- PATCH version minor changes and bug fixes
11+
12+
### Current versions and tags
13+
14+
The latest tag will always follow the master branch in git. the other versions will have releases attached.
15+
16+
| Docker Tag | GitHub Release | Nginx Version | PHP Version | Alpine Version | Container Scripts |
17+
|-----|-------|-----|--------|--------|
18+
| latest | Master Branch |1.11.10 | 7.1.1 | 3.4 | 0.2.6 |
19+
| 1.1.1 | 1.1.1 |1.11.9 | 7.1.1 | 3.4 | 0.2.5 |
20+
| 1.1.2 | 1.1.2 |1.11.10 | 7.1.1 | 3.4 | 0.2.6 |
21+
22+
These tags will be created as releases on GitHub and as tags in docker hub.

scripts/pull

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212

1313
# Try auto install for composer
1414
if [ -f "$WEBROOT/composer.lock" ]; then
15-
php composer.phar update
15+
php composer.phar install --no-dev
1616
fi
1717

1818
cd /var/www/html

scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fi
5959

6060
# Try auto install for composer
6161
if [ -f "$WEBROOT/composer.lock" ]; then
62-
php composer.phar install
62+
php composer.phar install --no-dev
6363
fi
6464

6565
# Enable custom nginx config files if they exist

0 commit comments

Comments
 (0)