Skip to content

Commit 0253c8f

Browse files
authored
Merge pull request #16 from elecena/opcache
Install opcache
2 parents 0a72694 + fce8403 commit 0253c8f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# elecena.pl (c) 2015-2021
22

33
# @see https://hub.docker.com/_/composer
4-
FROM composer:2.1.3 AS php-composer
4+
FROM composer:2 AS php-composer
55
RUN /usr/bin/composer -v
66

77
# @see https://hub.docker.com/_/php
8-
FROM php:8.0.7-cli-alpine AS php
8+
FROM php:8.0.8-cli-alpine AS php
99
RUN apk add \
1010
bzip2-dev \
1111
libsodium-dev \
@@ -16,6 +16,7 @@ RUN docker-php-ext-install \
1616
bz2 \
1717
calendar \
1818
exif \
19+
opcache \
1920
pcntl \
2021
shmop \
2122
soap \
@@ -28,7 +29,7 @@ RUN docker-php-ext-install \
2829
RUN which php; php -v; php -m; php -i | grep ini
2930

3031
# @see https://hub.docker.com/_/python/
31-
FROM python:3.9.5-alpine
32+
FROM python:3.9.6-alpine
3233
RUN pip install virtualenv && rm -rf /root/.cache
3334
RUN python -V
3435

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ elecena/python-php latest 0a1466db6d26 2 seconds ago 104MB
2727
$ docker run -it elecena/python-php sh info.sh
2828
2929
### Python
30-
Python 3.9.5
30+
Python 3.9.6
3131
virtualenv 20.4.7 from /usr/local/lib/python3.9/site-packages/virtualenv/__init__.py
3232
3333
### PHP
34-
PHP 8.0.7 (cli) (built: Jun 4 2021 19:02:30) ( NTS )
34+
PHP 8.0.8 (cli) (built: Jul 1 2021 22:52:06) ( NTS )
3535
Copyright (c) The PHP Group
36-
Zend Engine v4.0.7, Copyright (c) Zend Technologies
36+
Zend Engine v4.0.8, Copyright (c) Zend Technologies
37+
with Zend OPcache v8.0.8, Copyright (c), by Zend Technologies
3738
Composer version 2.1.3 2021-06-09 16:31:20
3839
[PHP Modules]
3940
bz2
@@ -78,7 +79,9 @@ xml
7879
xmlreader
7980
xmlwriter
8081
xsl
82+
Zend OPcache
8183
zlib
8284
8385
[Zend Modules]
86+
Zend OPcache
8487
```

0 commit comments

Comments
 (0)