2025-01-24 09:54:32 -0500
52.4 MB
39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
MAX_EXECUTION_TIME600
MEMORY_LIMIT512M
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPSautoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PHP_ASC_URLhttps://www.php.net/distributions/php-8.2.27.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_SHA2563eec91294d8c09b3df80b39ec36d574ed9b05de4c8afcb25fa215d48f9ecbc6b
PHP_URLhttps://www.php.net/distributions/php-8.2.27.tar.xz
PHP_VERSION8.2.27
PMA_SSL_DIR/etc/phpmyadmin/ssl
SESSION_SAVE_PATH/sessions
SHA256f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669
TZUTC
UPLOAD_LIMIT2048K
URLhttps://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz
VERSION5.2.2
[#000] sha256:1f3e46996e2966e4faa5846e56e76e3748b7315e2ded61476c24403d592134f0 - 6.63% (3.47 MB)
[#001] sha256:2dc38c2a4941ad701ab44fbcc1c173ad2a3f045a7eda86ff0a5e635a01e19853 - 6.07% (3.18 MB)
[#002] sha256:eb6ade65926f532f58d1495f0801397e48d6074e4877702516fdcffae116f406 - 0.0% (941 Bytes)
[#003] sha256:87fb538d175e44179f87fbd4eeeed2138882929e119c2e54eac1eb45782bdb37 - 0.0% (217 Bytes)
[#004] sha256:e9a8a15c7e4cde4985687b664d93da335bd978d49ab39d80d439d4c7435a923a - 22.17% (11.6 MB)
[#005] sha256:c424f018ab09a022ef6f5ac7fbdf94bc2b07d8ad69fa3c6e4dce4d3b322f58f6 - 0.0% (488 Bytes)
[#006] sha256:821d09a1edaa3b9bc5eb7c606e524a3585ae7bf01fd6debf8acb46603301c659 - 23.62% (12.4 MB)
[#007] sha256:6fc2af29dadb8d7cb7a17cfd22d5cf08366ed54d914814a53653ecd52a261057 - 0.0% (2.38 KB)
[#008] sha256:8c46fd636a5a8b2c3fcb864ed662371b0d18fe0491f3c98a988e672fddf83fc8 - 0.04% (19.6 KB)
[#009] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#010] sha256:9ff12f084cfd61483aef81b4e6e219fb00e3b75fdd125a34d8f6e16f050a6a5a - 0.02% (8.96 KB)
[#011] sha256:359c36c1b25f9f10f5f7edb7f3e4ec96a62ede7b4a1ffeb66350e86723ce6834 - 11.06% (5.79 MB)
[#012] sha256:1f34e83028dd9c56e24d3247864f0df524d0a7b15a9e037c5c9b2b93da7b4103 - 5.97% (3.13 MB)
[#013] sha256:0f33dcb41003a6f914432706424f35075abe74f99b2d4cfb38687184e7d26857 - 0.0% (650 Bytes)
[#014] sha256:6801d5f1a3c730c452b7aa9e3c172a7a056bca783242ce7fb12b8c6718ffd357 - 24.41% (12.8 MB)
[#015] sha256:510b747d2ebdaf4eb0e94c4807db39e285123a793c1e4bebe2ce7cb1dfec760c - 0.0% (2.09 KB)
[#016] sha256:3af8254f8224063dea1a9658fd58fba132fbfd516384b1d8bcfa804e0590cdf5 - 0.0% (861 Bytes)
[#017] sha256:59fe5949d355af5200930ec460fd0292da1d26c6df6db796b75c8906ce43cc1d - 0.0% (800 Bytes)
ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_INI_DIR=/usr/local/etc/php
2024-12-19 16:49:54 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
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_LDFLAGS=-Wl,-O1 -pie
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_VERSION=8.2.27
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_URL=https://www.php.net/distributions/php-8.2.27.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.27.tar.xz.asc
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENV PHP_SHA256=3eec91294d8c09b3df80b39ec36d574ed9b05de4c8afcb25fa215d48f9ecbc6b
2024-12-19 16:49:54 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
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)COPY docker-php-source /usr/local/bin/ # buildkit
2024-12-19 16:49:54 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
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c docker-php-ext-enable sodium # buildkit
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-php-entrypoint"]
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)WORKDIR /var/www/html
2024-12-19 16:49:54 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
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)EXPOSE map[9000/tcp:{}]
2024-12-19 16:49:54 UTC (buildkit.dockerfile.v0)CMD ["php-fpm"]
2025-01-14 14:02:41 -0500 (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache bash tzdata gnupg # buildkit
2025-01-14 14:05:00 -0500 (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-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV PMA_SSL_DIR=/etc/phpmyadmin/ssl
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV MAX_EXECUTION_TIME=600
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV MEMORY_LIMIT=512M
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV UPLOAD_LIMIT=2048K
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV TZ=UTC
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV SESSION_SAVE_PATH=/sessions
2025-01-14 14:05:00 -0500 (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-14 14:05:00 -0500 (buildkit.dockerfile.v0)USER www-data:www-data
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV VERSION=5.2.2
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV SHA256=f881819a3b11e653b0212afaf0cc105db85c767715cb3f5852670f7fc36c9669
2025-01-14 14:05:00 -0500 (buildkit.dockerfile.v0)ENV URL=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.xz
2025-01-14 14:05:00 -0500 (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 15:46:30 -0500 (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-23 16:48:43 -0500 (buildkit.dockerfile.v0)COPY --chown=www-data:www-data config.inc.php /etc/phpmyadmin/config.inc.php # buildkit
2025-01-23 16:48:43 -0500 (buildkit.dockerfile.v0)COPY --chown=www-data:www-data helpers.php /etc/phpmyadmin/helpers.php # buildkit
2025-01-24 09:54:32 -0500 (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /docker-entrypoint.sh # buildkit
2025-01-24 09:54:32 -0500 (buildkit.dockerfile.v0)USER root
2025-01-24 09:54:32 -0500 (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2025-01-24 09:54:32 -0500 (buildkit.dockerfile.v0)CMD ["php-fpm"]
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.