Namespace
library
Image / Tag
phpmyadmin:fpm-alpine
Content Digest
sha256:457be80c8093a035997ef28716f66e74222872512673813430423139019e6316
Details
Created

2025-01-21 20:44:12 UTC

Size

52.6 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:69aa61ccf55e5bf8e7a069b89e8afb42b4f3443b3785868795af8046d810d608 - 6.28% (3.3 MB)

[#001] sha256:f3c11eebd130e07cbf8c53c95aefbb0f34f3399a98a674468562091047fe3fcf - 6.13% (3.22 MB)

[#002] sha256:c751ad2c0cc250ea82a828bec18afda252c299d01ebe6dac4b11494671e06d19 - 0.0% (934 Bytes)

[#003] sha256:c15c2ecab1b3da0dcee89b3ee2071b18cea5605b2bdeeb839f2dbbefa758ee20 - 0.0% (215 Bytes)

[#004] sha256:4cf528ca834681d024d1d19ff0fbbd461302149cb6717b1f358d2737de876a07 - 22.08% (11.6 MB)

[#005] sha256:6a111e56858a6ecb75ac8a0f732f4fbbaea11ed62dc1704f84e0fb463cf1c5ff - 0.0% (488 Bytes)

[#006] sha256:4a882c3df925b84f5e536fea028f89c049a2080676ea775ddb3692e2552337c5 - 24.21% (12.7 MB)

[#007] sha256:e0b16d4fe577b8a43b5adbd94d84a1db397ec282b0ea96482578c96d021f728c - 0.0% (2.39 KB)

[#008] sha256:591b84d4c41d691b95b47de5fb85ed55758fb71b7246b3f6e5f5f75b08a383a4 - 0.04% (19.6 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:134d5183fd618afe7e1340d299dd1e8f2dcc54cc4d093b720fd7f43700452953 - 0.02% (8.96 KB)

[#011] sha256:a7d43db43b4702c9e54f6d7dff3229abbb793bc5d25fc9ca6b7756d38e2a43c8 - 10.83% (5.69 MB)

[#012] sha256:7fe75ad4397543acdace40ff27c6fe7485a6eba72d4d9e7d72bdaa7432546217 - 6.08% (3.2 MB)

[#013] sha256:a9a8cd55c957dd565e4d668a138d8589d3030a79c495c6d72ff3399f5e23bd4a - 0.0% (645 Bytes)

[#014] sha256:f2c67e81e7eb235759537a9127765fa757c1fd0f48ff6a2f2c6a5a6a59c9b496 - 24.32% (12.8 MB)

[#015] sha256:96f78425af36688dc2ac6212bef566382bece67fa71ed780c86c49380118cdc2 - 0.0% (2.09 KB)

[#016] sha256:663403b6f0fbcd84dd31771c2a44f5887ed37d52c0b2a08beb42ced835295fc4 - 0.0% (857 Bytes)

[#017] sha256:1dd06f9941d9b30b155d23e870aacc3b34d871078a3c29d73c20758331e6158c - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-x86.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

52.4 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 - 6.63% (3.47 MB)

[#001] sha256:ca9d9bf0d23d7f4383852b92ae1a82b42f9373eab2c0bb347f43b1f316975db2 - 6.07% (3.18 MB)

[#002] sha256:f19ca7ebae6f07e054c824145e024686d7e3df37e469f881863236b3f94fa778 - 0.0% (933 Bytes)

[#003] sha256:123dabc5a6aa4425388ba99936f21c5a46862e5cd3c3d3a3e4988b73f6f1225e - 0.0% (217 Bytes)

[#004] sha256:b62bf41f3a41976212d2e4ff357ec5abafd2e8b8467e10163e419cf791f7b7aa - 22.14% (11.6 MB)

[#005] sha256:722d5ac7bb9853ce32736102b17f7eda1f4cbc461298381b9228e273bb871e1b - 0.0% (488 Bytes)

[#006] sha256:363520525e266e7d37a495b538f21096d4a4ef9219baeee8e792cafa6e735895 - 23.68% (12.4 MB)

[#007] sha256:963ed0feb7073d90e1b89b87c874998b3d9a56c2cbd8e9a291d2dd6991172350 - 0.0% (2.39 KB)

[#008] sha256:5aa2e97b0079ec622511b271839241b31e3644358250ab4f1dca75a2be6bc0f2 - 0.04% (19.6 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:db02e2c251bfdc682cf9c117c376f5a6b98eccb965472e8214a3578d42d0bb89 - 0.02% (8.96 KB)

[#011] sha256:c8179748d465447b921fad8b37d81551439681ec8cb0f76035387133dbf8de31 - 11.05% (5.79 MB)

[#012] sha256:78bf762e5566634117f714be9d89b31b404c1a65765db74b218fc86df2a20ad4 - 5.97% (3.13 MB)

[#013] sha256:fc9ad3c0e40f67374d04e0d04d0bb3c4ac986072ac66c615c8bdf90a08516551 - 0.0% (646 Bytes)

[#014] sha256:723984379e284339f84af52bb664eb266e8e80159f1a5e9a19a47273c9d07961 - 24.39% (12.8 MB)

[#015] sha256:84d341eb6befd0cf751ada5da4f5b66c124cf1cf23d5fb94389a3dd53fb32c30 - 0.0% (2.09 KB)

[#016] sha256:89039556d1ecac526dd12196aed74cfffe08a415286631463fcda16ab664fa4d - 0.0% (856 Bytes)

[#017] sha256:4db485c3174f325e2f337520f7e59ae78d5f3a5c0d228ed51ba9f9dc563e1857 - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

50.3 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:76099982f06682e28a60c3b774ef20931d07b0a2f551203484e633d8c0361ee7 - 6.38% (3.21 MB)

[#001] sha256:5ee7560caccbd432ecca159038f0b286f2c0b02efec5546bf18a775ad0e99486 - 6.28% (3.16 MB)

[#002] sha256:9633ce950391c85eec86506afa8a80635896647c5785246258ef925ff53571b2 - 0.0% (932 Bytes)

[#003] sha256:25cec00a4490a77b96f81fdbda726d926b9b6c604919f947a6b1af7adfd131e9 - 0.0% (223 Bytes)

[#004] sha256:4551a2c2aac1932c5818c520eabda0a2d7fb29a0327b284658029576d56f0a8e - 23.09% (11.6 MB)

[#005] sha256:bade13c5dce2e84a68f69ff5439285d74f7550109f3450757cb2803fb5d20404 - 0.0% (496 Bytes)

[#006] sha256:9f54583b393ccad2dd55d99187e93e070cbcfbd5fedcd726933487f1cb38cb14 - 22.3% (11.2 MB)

[#007] sha256:95633139aa3cfd7188ad90505a9241a7fa43a3f25e6d0e0df0c25dbd8f67ca09 - 0.0% (2.39 KB)

[#008] sha256:9dc06be1b082acb6bd15f54e2921883ef294b35f84e42d31cdfc8e6dbb6cd34f - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:ecc7b4daad898afb57592c4476c2ef48d77ea9cbca68b6606c8aa9c5618c95c6 - 0.02% (8.96 KB)

[#011] sha256:3d4db1aefbf448d66bc4c1e656e62f9ee862058991c312023dc08056c8dd3a07 - 11.34% (5.7 MB)

[#012] sha256:5399448c278f952b807711409bce46ae5e1905e613bf142da52bf9e76e63650b - 5.1% (2.56 MB)

[#013] sha256:bb62c527723329329413b876055b347827c07ffa5b7b4acc954ee919a7a9cf33 - 0.0% (650 Bytes)

[#014] sha256:cd9a9320123e59abc4a608259a21ca23012c77e94792a12e276a5a89840e1417 - 25.44% (12.8 MB)

[#015] sha256:ac4f08f94085f59b57f77d412d9549efc4b2665089f92eddc77814ee6b7ba758 - 0.0% (2.09 KB)

[#016] sha256:e849a4b91d16743db0256d054cd513f6d83704d9737f2eb03afac329e4dd11b3 - 0.0% (857 Bytes)

[#017] sha256:cf18fa44335fae16dc810d774beb98042a2b40971a2c31b595a0f28c4809c498 - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-armhf.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

48.5 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:85f3b18f9f5a8655db86c6dfb02bb01011ffef63d10a173843c5c65c3e9137b7 - 6.09% (2.95 MB)

[#001] sha256:4f58037841180f7071b0cb17f16a917752d43e658ee1f1d1590b910d941697a3 - 6.14% (2.98 MB)

[#002] sha256:d03b42d7db9fed02f8be351555a7c1cb492e5de9aeba350f89727c645ea19994 - 0.0% (933 Bytes)

[#003] sha256:9997ea5283ca84c2230478f14c34317ce0e2df8d2463a0535910174e4ed66809 - 0.0% (222 Bytes)

[#004] sha256:c41d58c28a26e028acdf31256ee58849764c49130cbb28f075d6f3b63531ecf4 - 23.93% (11.6 MB)

[#005] sha256:0aa873ce11dc9f5c914ec7c20e7e9a416416927b4297a5b7548d4cfb6b9b8dc6 - 0.0% (494 Bytes)

[#006] sha256:2fb5b676038083da7060987ddcf1f27c1e2b91a896069cac0b37695f57ca6c3f - 21.77% (10.6 MB)

[#007] sha256:10c30fa199fef0b1c75b85660d4eba7d0e6fb6a32f7007aef424ab245ed5b3a0 - 0.0% (2.39 KB)

[#008] sha256:e683688d0d7b782184d9c0d7a74bf0ac879ba1c7d6632106fac0c1673865bdc0 - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:ecf027482c198194c928d81219829378926a8dfc0d39f6ae9cdaf2dd40be5fcf - 0.02% (8.96 KB)

[#011] sha256:52975f165d4fc0b927ab74da45415db8d014be37f6a7f83185620c5bd3b6e907 - 10.69% (5.19 MB)

[#012] sha256:91fcf9fc6d8cda7845ff77dd922e8bb03548bf5b5de90c1a891a70af722c2429 - 4.94% (2.4 MB)

[#013] sha256:a9ab4f2bde3453a0a7cab563172187a0d1dc7dc65eb4b23bcdda617f74de5a27 - 0.0% (646 Bytes)

[#014] sha256:ecb0bf0d679514e2ec1ef4728de5dccc5c7fcc13b783baafeb09f530338d84e8 - 26.36% (12.8 MB)

[#015] sha256:9cd1988ca7eedd9901c4cb4f11b3070acf278dd38912e26f7ccd201c9035d192 - 0.0% (2.09 KB)

[#016] sha256:248adb5de02baf8b6e7ebc0ff4be8d556f32640602247fb3f4ba1ac7b4a92f89 - 0.0% (858 Bytes)

[#017] sha256:d9baf0a525ac34162d11e78351bc81b423c3c78b189b0ca37edba0a74153f0ee - 0.0% (801 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-armv7.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

53 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:6e771e15690e2fabf2332d3a3b744495411d6e0b00b2aea64419b58b0066cf81 - 7.19% (3.81 MB)

[#001] sha256:f1eeb5b6ce9478bd6c574eb74b77f0d1b395a57ce5b3c1301f9be9922f5b8709 - 5.99% (3.18 MB)

[#002] sha256:26966b371bd90aa880696c07e5efe82fae85afb1dbbdc01200a938f225097a2f - 0.0% (933 Bytes)

[#003] sha256:1df8ec9c416f52d757beb3b934ea2fba8bda54f1a415fee89e3c4d7160ce5971 - 0.0% (214 Bytes)

[#004] sha256:1b779133073b0310817c4289caf889a8e4a8a1cb1b52b170d5a96fd28a8d2818 - 21.9% (11.6 MB)

[#005] sha256:e4552b82cfb50d44b4c97d470e338cccdeee4cc9e3e70e37d837953b8262a8a8 - 0.0% (496 Bytes)

[#006] sha256:dafd7123862b903d554c98a4d7d3bd576ccb4761e6e11475f54efef805b85798 - 23.41% (12.4 MB)

[#007] sha256:0013e8e812d857f83305a306830c5275283d1fd4947cd64ab51d8ab104cbff41 - 0.0% (2.39 KB)

[#008] sha256:590c3af78e4110a7384ea7c02ad68a52f170b09f2d9bdac8283c0d22ebcf304f - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:98d48f3e15ab90a2b1739e8622bf22c8886f1a3ab0aa5553d1c8b16985fa2e02 - 0.02% (8.96 KB)

[#011] sha256:78056a6ef5c1dd8d080141a2ddef107cf98dc73341b01d224de817746d5a5b15 - 10.86% (5.76 MB)

[#012] sha256:0a0b59b0e7489179a6730d4eeaa7061b50bf7990a24b6e54a4da974aa436a743 - 6.45% (3.42 MB)

[#013] sha256:64ac6c3d717558e31e3cb30fbb59e933fe53afd85075519e7911d2d64d6db9d1 - 0.0% (653 Bytes)

[#014] sha256:9d6f661f3dec62fff23fa3a7ea04b2b38d0d8894873588e2b563a083dc066f26 - 24.13% (12.8 MB)

[#015] sha256:50b773990306ae1e3a2cab140a33bd0921c8d7a0aa44f73f304b8adbb491fd20 - 0.0% (2.09 KB)

[#016] sha256:5afdcdac39b8830d90d6f832b202125af160e388467cb74ce14623e1fead1db9 - 0.0% (857 Bytes)

[#017] sha256:dd10631834f25714a208cc71b474d634093c24a121a260414dd069a9747bef4e - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-aarch64.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

53 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:184b14480d317057da092a0994ad6baf4b2df588108f43969f8fd56f021af2c6 - 6.44% (3.41 MB)

[#001] sha256:e5b0c526beb901f3bef02cf410e0d947ea692436a5dbc5258b999b61fcd3f138 - 6.27% (3.32 MB)

[#002] sha256:fa0f40451f4984088d9122ed91962de6fe91c34c09944da85f4c5c0b7bebf552 - 0.0% (930 Bytes)

[#003] sha256:e08e0c24d8ed4f70ce3641f51d7fb3e73e1e18d70e33576240bae71133a633b9 - 0.0% (223 Bytes)

[#004] sha256:3df8af50a6729a4826b6654832e38b8172038260e97a5aae7c2216435cb715fd - 21.92% (11.6 MB)

[#005] sha256:81fb3366248eb756f9c76f8bde23c305615a5056567c680f2427c4c58fac5a96 - 0.0% (495 Bytes)

[#006] sha256:4428e03fa521da6c43182877ee244ef74c663418d9dd9debb72514c97a8ee5cd - 24.29% (12.9 MB)

[#007] sha256:64ae7abc2d4f7fbe6727af682e92ac25fe8a9d3e20a6059625abcb4f961d4386 - 0.0% (2.39 KB)

[#008] sha256:9f02bdd275f45d1bc6d158b8abdbe15da980df69b99cece90f9b3d16128040d5 - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:151589dd988150f9d52d05e64f72b178dcf887fc34ecba3b39746c6e7485d862 - 0.02% (8.96 KB)

[#011] sha256:cfdf7cd98145d4ced4f61e660299a70429a938d1f33384e3a54b9e1366e6594b - 11.3% (5.98 MB)

[#012] sha256:03963efd5f798f65a40eb383f055054ae7a6abbdddcfdda36e24d24aab5640c4 - 5.58% (2.95 MB)

[#013] sha256:65ee1e2ddc350b22074c84ce4bc4e719e0b7e1deb98d0f95ab2f0a50ab313f7a - 0.0% (652 Bytes)

[#014] sha256:94888398c0ebb01bad04f897086d221992e88f7f9079dc6dbda2166f7fd1554b - 24.15% (12.8 MB)

[#015] sha256:2a62d1ab3c0f28d3629604348a5832c78dc9f5a73365dedd45173905eac7b281 - 0.0% (2.09 KB)

[#016] sha256:b94327c34fefa69d138783404a491ef0adb6f591cfe8ed88b97896534f30b5b6 - 0.0% (856 Bytes)

[#017] sha256:5746f1267b9374ed108a54288b309038eb9ed1c6d9861a4b59400509ddb15a98 - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-ppc64le.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

51.2 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:7df33f7ad8beb367ac09bdd1b2f220db3ee2bbdda14a6310d1340e5628b5ba88 - 6.24% (3.2 MB)

[#001] sha256:b75a14eca9423f582254c3b4d8d658ea4f006113a3355a1688bdbc6bac3eb770 - 6.45% (3.3 MB)

[#002] sha256:be8a148fbb1301ad573d1000e2ec04300c75cbfc42b27312197cb623017dae4d - 0.0% (933 Bytes)

[#003] sha256:ce5298f8d578c92ab374fdbb481a72f1557c4e7a726be21e513d65f51dd957cf - 0.0% (222 Bytes)

[#004] sha256:9fb4b974fdd939863625286c62c725ce6d4a880d2c57e4308cd008ab5d646915 - 22.68% (11.6 MB)

[#005] sha256:e11eda951b346ff69ff2fd7edcd335693e2af76b97e12e89590fc621153a8042 - 0.0% (494 Bytes)

[#006] sha256:6ede9ca5e94ae215dd2ede9364e774717a038783084264849d250df82e76da04 - 22.91% (11.7 MB)

[#007] sha256:8fee2c0bd0a91f3664f4c00ca9ae5a9da71ef69c7e58b616d4fd4aa78bae39e4 - 0.0% (2.39 KB)

[#008] sha256:17719cb58f4ee34a4b4f0359fe205f691654436f00788238e4b28f9a8ea699c2 - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:398e858946ec794d617d662fc6827bdddfe89c112bf44c9fdab93909bb493003 - 0.02% (8.97 KB)

[#011] sha256:2ca61f09ccf0732f4c23cd940482ba5e970ac6ea743f94b5c1745c399edea82e - 11.36% (5.82 MB)

[#012] sha256:16b0a1ec814534548cbc1e21f8f647450cdaffd49befede1075f7f5f1d1fc2f9 - 5.3% (2.71 MB)

[#013] sha256:97d76f307a7b7131e780fe7b44be2f300d46c527855a311d0c77370a7610574f - 0.0% (647 Bytes)

[#014] sha256:afe1c78d014fe6b629574d77e122906b5f7f85f4448b9e0d8ea47e13cb1029c9 - 24.98% (12.8 MB)

[#015] sha256:100632f4e8355b25752c2be4f4fdf9af5f68b2ad3b326f82afa0bd4746c29c7a - 0.0% (2.09 KB)

[#016] sha256:321bb95c0d3517b61d72d13e4340f3478d84a1b829a284d516f68df9be150069 - 0.0% (857 Bytes)

[#017] sha256:86d87b785bc1c92bdde441e1f908fff19f2477a0bd80eae4287706dafc4e3508 - 0.0% (801 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-riscv64.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2025-01-21 20:44:12 UTC

Size

52.4 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    The phpMyAdmin Team <developers@phpmyadmin.net>
  • org.opencontainers.image.description
    Run phpMyAdmin with Alpine, Apache and PHP FPM.
  • org.opencontainers.image.documentation
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.source
    https://github.com/phpmyadmin/docker.git
  • org.opencontainers.image.title
    Official phpMyAdmin Docker image
  • org.opencontainers.image.url
    https://github.com/phpmyadmin/docker#readme
  • org.opencontainers.image.vendor
    phpMyAdmin
  • org.opencontainers.image.version
    5.2.2

Environment
GPG_KEYS

39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

MAX_EXECUTION_TIME

600

MEMORY_LIMIT

512M

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.2.28.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -pie

PHP_SHA256

af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

PHP_URL

https://www.php.net/distributions/php-8.2.28.tar.xz

PHP_VERSION

8.2.28

PMA_SSL_DIR

/etc/phpmyadmin/ssl

SESSION_SAVE_PATH

/sessions

SHA256

f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

TZ

UTC

UPLOAD_LIMIT

2048K

URL

https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

VERSION

5.2.2


Layers

[#000] sha256:c1a599607158512214777614f916f8193d29fd34b656d47dfc26314af01e2af4 - 6.32% (3.31 MB)

[#001] sha256:7fa956d396b0345789b0b8754caea46d8279eb9aaef195e5c0751997771bc98b - 6.5% (3.4 MB)

[#002] sha256:2aa28a25dd21eb15acefc90a9671a91830929d27b461de939eaa00e611391d4d - 0.0% (932 Bytes)

[#003] sha256:fd758f782beaedae4bd78b431d2d8eec0ec738f9e5330203a2fb129e7a6b5dda - 0.0% (217 Bytes)

[#004] sha256:29c2a1a7895619f8898ab22e489e77226118f68a23a56c4aeda4560519629ec2 - 22.16% (11.6 MB)

[#005] sha256:4c45b81a188af619701756cf85b28a9b9f66c540e5d27da5296bc5b635df0169 - 0.0% (497 Bytes)

[#006] sha256:f5c348a7f71f85b3f4833d9b3b6aa21833794e749e85bfee621ff5d685f8f3fa - 23.63% (12.4 MB)

[#007] sha256:ad7a7bf06b93c57bdca0bf4852ef2e0b64147d41d93e94fd3cc6355962cc948a - 0.0% (2.39 KB)

[#008] sha256:f069465faa0bc403efa6c111423e939df9eb9b4302be622c46f15dc92e872e84 - 0.04% (19.4 KB)

[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#010] sha256:d6691fc01d5472a47b7593b94eb8678a18bc2a991c86d93f88c6d5dd72a87501 - 0.02% (8.96 KB)

[#011] sha256:ecf105a94287e34db1a3cc2de1e93bb65bb0bc75e468698973419242ccab4654 - 11.46% (6 MB)

[#012] sha256:898add72b9568c9097307ddc5b8edae2bb20cdc3b134d30f0de3f60b649fd50f - 5.45% (2.86 MB)

[#013] sha256:46547f5130290b3b8e6955d91a6557a9dc222ea23490835043eef0c9ed7ad8d0 - 0.0% (652 Bytes)

[#014] sha256:543b6c5f9f36b478736071d88b9ae95af870ae9442492c9cd6fe87bb0155e0fb - 24.42% (12.8 MB)

[#015] sha256:b0fdaab4f1b644652cf515d326f36a28cad0e60321cbd081200227cefe0826d4 - 0.0% (2.09 KB)

[#016] sha256:d282b4669827b173fd8b36478fcb2f0317c6b24e4c90fb6715dc492a7afd689a - 0.0% (856 Bytes)

[#017] sha256:1d26ca5810f003ee715abcd471f657417e26a9164c1da3e1f4c86f1276d7f7d6 - 0.0% (800 Bytes)


History
2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.21.3-s390x.tar.gz / # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 1777 /var/www/html # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.2.28

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_URL=https://www.php.net/distributions/php-8.2.28.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.28.tar.xz.asc

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del --no-network .fetch-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-source /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev gnu-libiconv-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; rm -vf /usr/include/iconv.h; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; docker-php-source extract; cd /usr/src/php; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --with-pic --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv=/usr --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 'riscv64-linux-musl' && echo '--without-pcre-jit') --disable-cgi --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all "$@" || : ' -- '{}' + ; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; cd /; docker-php-source delete; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-cache $runDeps; apk del --no-network .build-deps; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c docker-php-ext-enable sodium # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; cd /usr/local/etc; if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi; { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '; https://github.com/docker-library/php/pull/725#issuecomment-443540114'; echo 'log_limit = 8192'; echo; echo '[www]'; echo '; php-fpm closes STDOUT on startup, so sending logs to /proc/self/fd/1 does not work.'; echo '; https://bugs.php.net/bug.php?id=73886'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; echo 'decorate_workers_output = no'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf; mkdir -p "$PHP_INI_DIR/conf.d"; { echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; echo 'fastcgi.logging = Off'; } > "$PHP_INI_DIR/conf.d/docker-fpm.ini" # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps bzip2-dev freetype-dev libjpeg-turbo-dev libpng-dev libwebp-dev libxpm-dev libzip-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; docker-php-ext-install -j "$(nproc)" bz2 gd mysqli opcache zip bcmath ; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MAX_EXECUTION_TIME=600

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV MEMORY_LIMIT=512M

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_LIMIT=2048K

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SESSION_SAVE_PATH=/sessions

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; mkdir $SESSION_SAVE_PATH; mkdir -p $PMA_SSL_DIR; chmod 1777 $SESSION_SAVE_PATH; chmod 755 $PMA_SSL_DIR; chown www-data:www-data /etc/phpmyadmin; chown www-data:www-data $PMA_SSL_DIR; chown www-data:www-data $SESSION_SAVE_PATH; { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; } > $PHP_INI_DIR/conf.d/opcache-recommended.ini; { echo 'session.cookie_httponly=1'; echo 'session.use_strict_mode=1'; } > $PHP_INI_DIR/conf.d/session-strict.ini; { echo 'allow_url_fopen=Off'; echo 'max_execution_time=${MAX_EXECUTION_TIME}'; echo 'max_input_vars=10000'; echo 'memory_limit=${MEMORY_LIMIT}'; echo 'post_max_size=${UPLOAD_LIMIT}'; echo 'upload_max_filesize=${UPLOAD_LIMIT}'; echo 'date.timezone=${TZ}'; echo 'session.save_path=${SESSION_SAVE_PATH}'; } > $PHP_INI_DIR/conf.d/phpmyadmin-misc.ini # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER www-data:www-data

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV VERSION=5.2.2

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=Official phpMyAdmin Docker image org.opencontainers.image.description=Run phpMyAdmin with Alpine, Apache and PHP FPM. org.opencontainers.image.authors=The phpMyAdmin Team <developers@phpmyadmin.net> org.opencontainers.image.vendor=phpMyAdmin org.opencontainers.image.documentation=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.version=5.2.2 org.opencontainers.image.url=https://github.com/phpmyadmin/docker#readme org.opencontainers.image.source=https://github.com/phpmyadmin/docker.git

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; curl -fsSL -o phpMyAdmin.tar.xz $URL; curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc; echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" || gpg --batch --keyserver keys.openpgp.org --recv-keys "$GPGKEY"; gpg --batch --verify phpMyAdmin.tar.xz.asc phpMyAdmin.tar.xz; tar -xf phpMyAdmin.tar.xz -C /var/www/html --strip-components=1; mkdir -p /var/www/html/tmp; gpgconf --kill all; rm -r "$GNUPGHOME" phpMyAdmin.tar.xz phpMyAdmin.tar.xz.asc; rm -r -v /var/www/html/setup/ /var/www/html/examples/ /var/www/html/js/src/ /var/www/html/babel.config.json /var/www/html/doc/html/_sources/ /var/www/html/RELEASE-DATE-$VERSION /var/www/html/CONTRIBUTING.md; grep -q -F "'configFile' => ROOT_PATH . 'config.inc.php'," /var/www/html/libraries/vendor_config.php; sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; php -l /var/www/html/libraries/vendor_config.php; find /var/www/html -type d -exec chmod 555 {} \;; find /var/www/html -type f -exec chmod 444 {} \;; chmod 1777 /var/www/html/tmp; # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

USER root

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2025-01-21 20:44:12 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete