File tree Expand file tree Collapse file tree 2 files changed +21
-16
lines changed
Expand file tree Collapse file tree 2 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 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
78RUN 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
1721WORKDIR /opt
Original file line number Diff line number Diff 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]
2929calendar
3030Core
5555SimpleXML
5656soap
5757sockets
58+ sodium
5859SPL
5960standard
6061sysvmsg
You can’t perform that action at this time.
0 commit comments