X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# elecena.pl (c) 2015-2021

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

# @see https://hub.docker.com/_/php
FROM php:8.0.7-cli-alpine AS php
FROM php:8.0.8-cli-alpine AS php
RUN apk add \
bzip2-dev \
libsodium-dev \
Expand All @@ -16,6 +16,7 @@ RUN docker-php-ext-install \
bz2 \
calendar \
exif \
opcache \
pcntl \
shmop \
soap \
Expand All @@ -28,7 +29,7 @@ RUN docker-php-ext-install \
RUN which php; php -v; php -m; php -i | grep ini

# @see https://hub.docker.com/_/python/
FROM python:3.9.5-alpine
FROM python:3.9.6-alpine
RUN pip install virtualenv && rm -rf /root/.cache
RUN python -V

Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ elecena/python-php latest 0a1466db6d26 2 seconds ago 104MB
$ docker run -it elecena/python-php sh info.sh

### Python
Python 3.9.5
Python 3.9.6
virtualenv 20.4.7 from /usr/local/lib/python3.9/site-packages/virtualenv/__init__.py

### PHP
PHP 8.0.7 (cli) (built: Jun 4 2021 19:02:30) ( NTS )
PHP 8.0.8 (cli) (built: Jul 1 2021 22:52:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies
Zend Engine v4.0.8, Copyright (c) Zend Technologies
with Zend OPcache v8.0.8, Copyright (c), by Zend Technologies
Composer version 2.1.3 2021-06-09 16:31:20
[PHP Modules]
bz2
Expand Down Expand Up @@ -78,7 +79,9 @@ xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
```
X Tutup