Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cd23420

Browse files
Removed invalid opcache reference in docker-php-ext-opcache.ini
1 parent 1cc06e4 commit cd23420

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

‎Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,27 @@ RUN apk --no-cache add libmcrypt-dev autoconf gcc freetype libpng libjpeg-turbo
3636

3737
RUN ssh-keygen -f /root/.ssh/base_id_rsa -t rsa -N ''
3838

39+
# Nginx Config.
3940
COPY ./config-${BUILD_CONFIG}/nginx/host.conf /etc/nginx/sites-available/template.conf
4041
COPY ./config-${BUILD_CONFIG}/nginx/nginx.conf /etc/nginx/nginx.conf
4142

43+
# PHP Language Configuration
4244
COPY ./config-${BUILD_CONFIG}/php/php.ini /usr/local/etc/php/php.ini
4345
COPY ./config-${BUILD_CONFIG}/php/conf.d /usr/local/etc/php/conf.d
4446

47+
# PHP-FPM Config.
4548
COPY ./config-${BUILD_CONFIG}/fpm/fpm.conf /usr/local/etc/php-fpm.conf
4649
COPY ./config-${BUILD_CONFIG}/fpm/www.conf /usr/local/etc/php-fpm.d/www.conf
4750

51+
# Supervisord
4852
COPY ./config-${BUILD_CONFIG}/supervisord.conf /etc/supervisord.conf
4953

54+
# Init scripts
5055
COPY ./init-scripts/container.sh /home/bin/container
5156
COPY ./init-scripts/start.sh /start.sh
5257
COPY ./init-scripts/welcome.php /home/welcome.php
5358

59+
# Set env
5460
ENV PHP_BUILD_CONFIG=$BUILD_CONFIG
5561

5662
#Set working directory

‎README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,25 @@ Options:
1212
- `--env env` builds the image
1313
with configuration stored in config-{env} folder
1414
- `--php version` selects php version (builds from the {version}-fpm-alpine base).
15-
- `--customize dir` the name of the folder under `custom` to build from the resulting image. A Dockerfile should be present in `custom/{dir}`. See example folder for a starter template. By default all folders under custom will be built.
15+
- `--customize dir` the name of the folder under `custom` to build from the resulting image.
16+
A Dockerfile should be present in `custom/{dir}`. See example folder for a starter template.
17+
By default all folders under custom will be built.
1618

17-
The script will automatically build your custom images by placing your Dockerfiles in the `custom` folder. Your image will have the name of the folder it is placed in, tagged with latest. E.g. for the example folder the image will be built as `example:latest`.
19+
The script will automatically build your custom images by placing your Dockerfiles in the `custom` folder.
20+
Your image will have the name of the folder it is placed in, tagged with latest.
21+
E.g. for the example folder the image will be built as `example:latest`.
1822

1923
Example:
2024

21-
`./build.sh phpdevbase:latest --env dev --php 7.1.8 --customize phpdev`
25+
`./build.sh phpdev:base --env dev --php 7.2 --customize phpdev`
2226

2327
Then you can start your container with the built image:
2428

25-
`docker run -d -p 31287:80 --name dev-container phpdev:latest`
29+
`docker run -d -p 8007:80 --name dev-container phpdev:latest`
2630

2731
Available PHP versions:
2832

29-
- 7.2-rc
33+
- 7.2.*
3034
- 7.1 (default)
3135
- 7.0
3236
- 5.6

‎config-dev/php/conf.d/docker-php-ext-opcache.ini

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /