Skip to content

Commit 2ed09ba

Browse files
authored
Merge pull request #2 from elecena/python-php-3.8-7.3-slim-buster
python-php: Python 3.8 and PHP 7.3
2 parents 885d3b8 + 2bb7266 commit 2ed09ba

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

python-php/Dockerfile

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
# elecena.pl (c) 2015-2018
1+
# elecena.pl (c) 2015-2020
22

33
# @see https://hub.docker.com/_/python/
4-
FROM python:2.7-slim-stretch
4+
FROM python:3.8-slim-buster
5+
RUN pip install virtualenv && rm -rf /root/.cache
56

67
# install dependencies
78
RUN apt-get update && apt-get install -y \
8-
php7.0-cli \
9-
php7.0-curl \
10-
php7.0-json \
11-
php7.0-mbstring \
12-
php7.0-soap \
13-
php7.0-sockets \
14-
php7.0-xml
9+
php7.3-cli \
10+
php7.3-curl \
11+
php7.3-json \
12+
php7.3-mbstring \
13+
php7.3-soap \
14+
php7.3-sockets \
15+
php7.3-xml && \
16+
rm -rf /tmp /var/log/* /var/cache/* /var/lib/apt/lists/*
17+
18+
ENV PHP_VERSION 7.3.14
1519

1620
# add an info script
1721
WORKDIR /opt

python-php/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ docker pull elecena/python-php
1414
```
1515
$ docker run -it elecena/python-php bash info.sh
1616
17-
Linux 0ca1b37e5927 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
17+
Linux 0c786277fce3 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
1818
1919
### Python
20-
Python 2.7.17
21-
virtualenv 20.0.15 from /usr/local/lib/python2.7/site-packages/virtualenv/__init__.pyc
20+
Python 3.8.2
21+
virtualenv 20.0.17 from /usr/local/lib/python3.8/site-packages/virtualenv/__init__.py
2222
2323
### PHP
24-
PHP 7.0.33-0+deb9u7 (cli) (built: Feb 16 2020 15:11:40) ( NTS )
25-
Copyright (c) 1997-2017 The PHP Group
26-
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
27-
with Zend OPcache v7.0.33-0+deb9u7, Copyright (c) 1999-2017, by Zend Technologies
24+
PHP 7.3.14-1~deb10u1 (cli) (built: Feb 16 2020 15:07:23) ( NTS )
25+
Copyright (c) 1997-2018 The PHP Group
26+
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
27+
with Zend OPcache v7.3.14-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
2828
[PHP Modules]
2929
calendar
3030
Core
@@ -55,6 +55,7 @@ shmop
5555
SimpleXML
5656
soap
5757
sockets
58+
sodium
5859
SPL
5960
standard
6061
sysvmsg

0 commit comments

Comments
 (0)