File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed
Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1313 - name : Build the Docker image
1414 run : docker build . --tag ${{ github.repository }}
1515
16+ - name : Image details
17+ run : docker images | head
18+
1619 - name : Run info.sh
1720 run : docker run -t ${{ github.repository }} sh info.sh
Original file line number Diff line number Diff line change 11# elecena.pl (c) 2015-2020
22
33# @see https://hub.docker.com/_/composer
4- FROM composer:1.10.5 AS php-composer
4+ FROM composer:1.10.13 AS php-composer
55
66# @see https://hub.docker.com/_/python/
7- FROM python:3.8-alpine3.10
7+ FROM python:3.8.6-alpine
88RUN pip install virtualenv && rm -rf /root/.cache
99
1010# copy composer from the first stage
Original file line number Diff line number Diff line change 11python-php
22==========
33
4- Python and PHP under the same roof (in ** 160 MB Docker image** ).
4+ Python and PHP under the same roof (in ** under 100 MB Docker image** ).
55
66https://hub.docker.com/r/elecena/python-php
77
@@ -11,8 +11,8 @@ docker pull elecena/python-php
1111
1212```
1313$ docker images | head
14- REPOSITORY TAG IMAGE ID CREATED SIZE
15- elecena/python-php latest 5f03eb6d7605 About a minute ago 160MB
14+ REPOSITORY TAG IMAGE ID CREATED SIZE
15+ elecena/python-php latest 8a6373969bad 1 second ago 92.8MB
1616```
1717
1818## Installed software
@@ -21,15 +21,15 @@ elecena/python-php latest
2121$ docker run -it elecena/python-php sh info.sh
2222
2323### Python
24- Python 3.8.2
25- virtualenv 20.0.20 from /usr/local/lib/python3.8/site-packages/virtualenv/__init__.py
24+ Python 3.8.6
25+ virtualenv 20.0.31 from /usr/local/lib/python3.8/site-packages/virtualenv/__init__.py
2626
2727### PHP
28- PHP 7.4.3 (cli) (built: Mar 20 2020 07:14:36 ) ( NTS )
28+ PHP 7.4.9 (cli) (built: Aug 31 2020 19:20:23 ) ( NTS )
2929Copyright (c) The PHP Group
3030Zend Engine v3.4.0, Copyright (c) Zend Technologies
31- with Zend OPcache v7.4.3 , Copyright (c), by Zend Technologies
32- Composer version 1.10.5 2020-04-10 11:44:22
31+ with Zend OPcache v7.4.9 , Copyright (c), by Zend Technologies
32+ Composer version 1.10.13 2020-09-09 11:46:34
3333[PHP Modules]
3434bz2
3535calendar
You can’t perform that action at this time.
0 commit comments