docker/magento (sha256:6d2642d2ac07a89d1a071992e0b27aa65a19b45627742551cb39a8f063d36d90)
Installation
docker pull git.grey.ooo/grey.ooo/docker/magento@sha256:6d2642d2ac07a89d1a071992e0b27aa65a19b45627742551cb39a8f063d36d90sha256:6d2642d2ac07a89d1a071992e0b27aa65a19b45627742551cb39a8f063d36d90About this package
Magento on PHP 8.3
Image layers
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV ALPINE_VERSION=3.22 |
| ARG BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch |
| LABEL org.opencontainers.image.vendor=Grey.ooo org.opencontainers.image.authors=Matt B <matt@grey.ooo> org.opencontainers.image.url=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.source=https://git.grey.ooo/Grey.ooo/docker org.opencontainers.image.documentation=https://git.grey.ooo/Grey.ooo/docker/src/branch/main/README.md ooo.grey.version.alpine=3.22 |
| ENV TERM=xterm-256color PATH=/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LOG_PATHS= SVDIR=/etc/services.d SVWAIT=5 PAGER=/usr/bin/less EDITOR=/usr/bin/nano SYSTEM_USER=app |
| WORKDIR /app |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch /bin/sh -c set -ue apk add --no-cache $BASE_PACKAGES # add our app user adduser -D -u 1000 $SYSTEM_USER -h /home -s /bin/bash chown -R $SYSTEM_USER:$SYSTEM_USER /app # We're about to add the root filesystem and I want to clean house of these runit-related directories before I do so. rm -Rf /etc/service /etc/services /etc/services.d \ /etc/periodic /etc/cron.d \ /etc/conf.d # buildkit |
| SHELL [/bin/bash -ce] |
| COPY ./fs/alpine/. / # buildkit |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch /bin/bash -ce # Install lolcat from the edge/testing repo. # This is a workaround for the fact that lolcat is not available in the stable repo. # It lets us have nice colourful banners. apk add --no-cache lolcat --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing # buildkit |
| STOPSIGNAL SIGHUP |
| CMD ["/usr/local/bin/entrypoint"] |
| RUN |1 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch /bin/bash -ce rm /root/.bashrc /root/.profile /home/.bashrc /home/.profile /etc/profile.d/00-bashrc.sh >/dev/null 2>&1 || true ln -s /etc/profile /root/.bashrc ln -s /etc/profile /root/.profile ln -s /etc/profile /home/.bashrc ln -s /etc/profile /home/.profile sed -i 's|/bin/ash|/bin/bash|' /etc/passwd sv-fix-perms /usr/local/bin/validate # buildkit |
| ARG NGINX_VERSION=1.28 |
| ARG PHP_VERSION=8.3 |
| ARG COMPOSER_VERSION=latest-stable |
| ARG PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug |
| ARG EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis |
| ENV PHP_VERSION=8.3 NGINX_VERSION=1.28 COMPOSER_VERSION=latest-stable COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_HOME=/var/cache/.composer COMPOSER_FUND=0 PATH=/app/vendor/bin:/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PHP_MEMORY_LIMIT=256M PHP_CLI_MEMORY_LIMIT=4096M PHP_ERROR_REPORTING=E_ALL PHP_DISPLAY_ERRORS=1 LOG_PATHS=/var/log/nginx_access.log /var/log/nginx_error.log /var/log/php_access.log /var/log/php_error.log |
| LABEL ooo.grey.version.php=8.3 ooo.grey.version.nginx=1.28 ooo.grey.version.composer=latest-stable |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce # Install PHP+Friends apk add --no-cache $PHP_PACKAGES $EXTRA_PACKAGES # remove nginx, postgres and redis user if they exist, we didn't ask to create them but install scripts do it anyway deluser nginx || true deluser postgres || true deluser redis || true # Remove the default php config files rm /etc/php /etc/php* -Rf || true # buildkit |
| COPY ./fs/php-nginx/. / # buildkit |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce if [[ "$PHP_VERSION" == "8.5"* ]]; then echo "Disabling opcache zend_extension inclusion for PHP 8.5" # MB: Comment out "zend_extension" with a ;, its not compatible with PHP 8.5 yet. sed -i 's/^zend_extension/;zend_extension/' /etc/php/conf.d/*_opcache.ini cat /etc/php/conf.d/*_opcache.ini fi # buildkit |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce # Install composer curl https://getcomposer.org/download/$COMPOSER_VERSION/composer.phar --output /usr/local/bin/composer --silent chmod +x /usr/local/bin/composer # buildkit |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce set -ue PHP_VER=$(echo $PHP_VERSION | tr -d '.') # if PHP_VER is less than 80, set it to 7 if [[ "$PHP_VER" -lt 80 ]]; then PHP_VER=7 fi # Move some binary names around as well as other bits and pieces mkdir /run/php-fpm ln -s /etc/php /etc/php${PHP_VER} || true ln -s /usr/bin/php${PHP_VER} /usr/bin/php || true ln -s /usr/sbin/php-fpm${PHP_VER} /usr/sbin/php-fpm ln -s /usr/share/php${PHP_VER} /usr/share/php ln -s /var/log/php${PHP_VER} /var/log/php # if we're PHP 7, we need to comment out pm.max_spawn_rate in /etc/php/php-fpm.d/www.conf if [[ "$PHP_VER" -eq 7 ]]; then sed -i 's/^pm.max_spawn_rate = .*/;pm.max_spawn_rate = 20/' /etc/php/php-fpm.d/www.conf fi # Fix paths mkdir -p /var/log/nginx # Fix execution and ownership /usr/local/bin/sv-fix-perms rm -Rf \ /var/log/php/ /var/log/php*/ \ /var/log/redis \ || true touch /var/log/php_error.log /var/log/php_access.log chown app:app -R \ /app \ /var/lib/nginx /var/log/nginx /run/nginx \ /var/log/php* /run/php-fpm /usr/share/php* # json got merged into PHP in 8.0, so we remove the old json config files if [[ "$PHP_VER" -ge 80 ]]; then rm /etc/php/conf.d/*_json.ini || true fi # buildkit |
| USER app |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce set -ue mkdir -p ~/.ssh ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts # buildkit |
| HEALTHCHECK &{["CMD-SHELL" "/usr/local/bin/healthcheck"] "5s" "0s" "10s" "0s" '\x00'} |
| USER root |
| SHELL [/bin/bash -ce] |
| RUN |6 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis /bin/bash -ce /usr/local/bin/validate # buildkit |
| ARG NODE_VERSION=22 |
| ARG YARN_VERSION=1.22 |
| ARG NPM_VERSION=11 |
| ARG NODE_PACKAGES=npm nodejs yarn |
| ENV NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NPM_CACHE_DIR=/var/cache/.npm YARN_CACHE_FOLDER=/var/cache/.yarn NPM_CONFIG_LOGLEVEL=warn NPM_CONFIG_PREFIX=/var/cache/.npm/.npm-global NPM_CONFIG_CACHE=/var/cache/.npm/.npm-cache NPM_CONFIG_USERCONFIG=/var/cache/.npm/.npmrc NODE_PATH=/var/cache/.npm/.npm-global/lib/node_modules:/usr/local/lib/node_modules:/usr/lib/node_modules PATH=/bin:/app/vendor/bin:/app:/app/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NO_UPDATE_NOTIFIER=true NPM_WATCH_PATHS= |
| LABEL ooo.grey.version.node=22 ooo.grey.version.yarn=1.22 ooo.grey.version.npm=11 |
| USER root |
| COPY ./fs/node/. / # buildkit |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce sv-fix-perms # buildkit |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce mkdir -p $NPM_CACHE_DIR $YARN_CACHE_FOLDER chown $SYSTEM_USER:$SYSTEM_USER $NPM_CACHE_DIR $YARN_CACHE_FOLDER apk add --no-cache $NODE_PACKAGES chmod a+w /var/cache $NPM_CACHE_DIR $YARN_CACHE_FOLDER # buildkit |
| USER app |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce npm --global cache verify # buildkit |
| USER root |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce /usr/local/bin/validate # buildkit |
| LABEL ooo.grey.version.magento=2 |
| COPY ./fs/magento/. / # buildkit |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce chmod +x /usr/local/bin/* # Fix ownership & execution of service scripts sv-fix-perms # Stuff the magento var directory outside of the app directory rm -rf /app/var mkdir -p /var/magento ln -s /var/magento /app/var chown $SYSTEM_USER:$SYSTEM_USER -R /var/magento /app/var # buildkit |
| RUN |10 BASE_PACKAGES= bash bash-completion pv bc btop less util-linux-misc util-linux-bash-completion bind-tools iputils-ping net-tools traceroute git openssh-client ca-certificates wget curl tar gzip xz bzip2 cronie flock nano vim figlet ncurses runuser runit dos2unix patch NGINX_VERSION=1.28 PHP_VERSION=8.3 COMPOSER_VERSION=latest-stable PHP_PACKAGES=php83 php83-bcmath php83-bz2 php83-calendar php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-ftp php83-fpm php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pgsql php83-phar php83-posix php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib php83-pecl-apcu php83-pecl-redis php83-pecl-msgpack php83-pecl-xdebug EXTRA_PACKAGES=nginx sqlite postgresql-client mysql-client mariadb-connector-c redis NODE_VERSION=22 YARN_VERSION=1.22 NPM_VERSION=11 NODE_PACKAGES=npm nodejs yarn /bin/bash -ce # Set root path to /app/pub since the default is /app/public sed -i 's|root .*|root /app/pub;|g' /etc/nginx/http.d/default.conf # Set the default memory limit to 256M sed -i 's|memory_limit = .*|memory_limit = 256M|g' /etc/php/php.ini # Run the validate script to ensure this container isn't built incorrectly /usr/local/bin/validate # buildkit |
Labels
| Key | Value |
|---|---|
| ooo.grey.version.alpine | 3.22 |
| ooo.grey.version.composer | latest-stable |
| ooo.grey.version.magento | 2 |
| ooo.grey.version.nginx | 1.28 |
| ooo.grey.version.node | 22 |
| ooo.grey.version.npm | 11 |
| ooo.grey.version.php | 8.3 |
| ooo.grey.version.yarn | 1.22 |
| org.opencontainers.image.authors | Matt B <matt@grey.ooo> |
| org.opencontainers.image.description | Magento on PHP 8.3 |
| org.opencontainers.image.documentation | https://git.grey.ooo/Grey.ooo/docker/src/branch/main/README.md |
| org.opencontainers.image.source | https://git.grey.ooo/Grey.ooo/docker |
| org.opencontainers.image.url | https://git.grey.ooo/Grey.ooo/docker |
| org.opencontainers.image.vendor | Grey.ooo |
Details
2026-01-03 22:30:35 +00:00
Versions (18)
View all
Container
0
OCI / Docker
linux/arm64
Matt B <matt@grey.ooo>
91 MiB
8.5-build-2026-01-03
2026-01-03
8.5
2026-01-03
latest
2026-01-03
8.1-build-2026-01-03
2026-01-03
8.1
2026-01-03