This base container is not currently aimed at public consumption. It exists as a starting point for August Ash containers.
1.0.0
,latest
(Dockerfile)
See VERSIONS.md for image contents.
These PHP extensions are enabled:
bcmath
dom
ctype
curl
ftp
gd
iconv
intl
ioncube
json
mbstring
mcrypt
opcache
openssl
pdo
pdo_mysql
phar
posix
redis
soap
xdebug
xml
xsl
zip
zlib
The following variables can be set and will change how the container behaves. You can use the -e
flag, an environment file, or your Docker Compose file to set your preferred values. The default values are shown:
PUID
=501PGID
=1000DEBUG
=falsePHP_MEMORY_LIMIT
=1G
Variables used for installing & configuring Magento:
MAGENTO_ADMIN_EMAIL
=[email protected]MAGENTO_ADMIN_FIRSTNAME
=AugustMAGENTO_ADMIN_LASTNAME
=AshMAGENTO_ADMIN_PASSWORD
=Password1MAGENTO_ADMIN_USER
=augustashMAGENTO_BACKEND_FRONTNAME
=random-admin-urlMAGENTO_BASE_URL_SECURE
=trueMAGENTO_BASE_URL
=https://magento.test/MAGENTO_CODEBASE
=open-sourceMAGENTO_CURRENCY
=USDMAGENTO_DB_HOST
=mysqlMAGENTO_DB_NAME
=magento2MAGENTO_DB_PASSWORD
=passwordMAGENTO_DB_USER
=userMAGENTO_ELASTICSEARCH_HOST
=elasticsearchMAGENTO_INSTALL_DB
=falseMAGENTO_INSTALL_STRING
=MAGENTO_LANGUAGE
=en_USMAGENTO_PATH
=/srcMAGENTO_PHPSTORM_META
=falseMAGENTO_RABBITMQ_HOST
=rabbitmqMAGENTO_RABBITMQ_PASS
=magentoMAGENTO_RABBITMQ_PORT
=5672MAGENTO_RABBITMQ_USER
=magentoMAGENTO_REDIS_CACHE_HOST
=redis-cacheMAGENTO_REDIS_SESSION_HOST
=redis-sessionsMAGENTO_REWRITES
=1MAGENTO_TIMEZONE
=America/ChicagoMAGENTO_USE_SAMPLE_DATA
=falseMAGENTO_VERSION
=2.3.1
The following utilities are installed and available by default within this image. All scripts proxy to their official counterpart but run by the ash
user instead of root
.
Runs Composer, the defacto dependency manager for PHP.
Runs Grunt, the JavaScript task runner.
Runs Gulp, which is an alternate JavaScript task runner.
Custom script to install and configure a new Magento 2 instance. Requires the MAGENTO_
environment variables defined above.
A proxy to the bin/magento
tool that comes with Magento 2.
Runs n98-magerun2, the swiss army knife for Magento developers, sysadmins and devops.
When this image is used as part of a Magento 2 cluster, the following commands can be useful:
docker-compose run --rm alpine-phpfpm-magento magento deploy:mode:set developer
docker-compose run --rm alpine-phpfpm-magento magento setup:upgrade
docker-compose run --rm alpine-phpfpm-magento magento setup:di:compile
docker-compose run --rm alpine-phpfpm-magento magento setup:static-content:deploy
docker-compose run --rm alpine-phpfpm-magento magento cache:clean