https://github.com/johanvanhelden/dockerhero
latest
Ensure you are logged in locally to hub.docker.com using docker login
and have access to the hub repository.
(note: your username is used, not your email address).
Ensure the latest version of is present by running:
docker pull mlocati/php-extension-installer
Run the build process:
docker build ./ --tag johanvanhelden/dockerhero-php-8.1-fpm:TAG
Publish the build:
docker push johanvanhelden/dockerhero-php-8.1-fpm:TAG
Replace TAG
with the tag you are working on.
If you want to test a new feature, create a new tag for it. This way, it can not introduce issues in the production image if something is not working properly.
Once it works, delete the custom tag and introduce it into latest
$ docker-compose up --build
$ docker exec -it dockerhero-php-8.1-fpm-testing bash
bcmath
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
imagick
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
SimpleXML
soap
sodium
SPL
sqlite3
ssh2
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib