metabans (horizon-v2.40.3)
Published 2026-10-30 18:49:07 -04:00 by Prophet731
Installation
docker pull git.ezscale.cloud/ezscale/metabans:horizon-v2.40.3sha256:013cc2aa9fce62b29fefef2620ca9909d23cf3c9b688b1c061e61998227a8726
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 4c254eac17 | linux/amd64 | 334 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c |
| RUN /bin/sh -c apk add --no-cache ca-certificates curl openssl tar xz # buildkit |
| RUN /bin/sh -c set -eux; adduser -u 82 -D -S -G www-data www-data # buildkit |
| ENV PHP_INI_DIR=/usr/local/etc/php |
| 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 |
| ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| ENV PHP_LDFLAGS=-Wl,-O1 -pie |
| ENV GPG_KEYS=AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD |
| ENV PHP_VERSION=8.4.27 |
| ENV PHP_URL=https://www.php.net/distributions/php-8.4.27.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.27.tar.xz.asc |
| ENV PHP_SHA256=dcf93923b0e38e0d5252b25b796520b5a47761a08b3488b6d0b5d1115764d3f0 |
| 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; 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"; apk del --no-network .fetch-deps # buildkit |
| COPY docker-php-source /usr/local/bin/ # buildkit |
| 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)"; case "$gnuArch" in 'i686-linux-'*) export CFLAGS="$CFLAGS -msse2 -mfpmath=sse" CPPFLAGS="$CPPFLAGS -msse2 -mfpmath=sse" ; ;; esac; test "$PHP_INI_DIR" != "${PHP_INI_DIR%/php}"; ./configure --build="$gnuArch" --sysconfdir="${PHP_INI_DIR%/php}" --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 --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 |
| COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit |
| RUN /bin/sh -c docker-php-ext-enable opcache # buildkit |
| RUN /bin/sh -c docker-php-ext-enable sodium # buildkit |
| ENTRYPOINT ["docker-php-entrypoint"] |
| WORKDIR /var/www/html |
| RUN /bin/sh -c set -eux; cd "${PHP_INI_DIR%/php}"; cp -v php-fpm.conf.default php-fpm.conf; cp -v php-fpm.d/www.conf.default php-fpm.d/www.conf; grep -E '^listen = 127.0.0.1:9000' php-fpm.d/www.conf; sed -ri 's/^(listen = 127.0.0.1:9000)/;\1/' php-fpm.d/www.conf; grep -E '^;listen = 127.0.0.1:9000' php-fpm.d/www.conf; { 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'; echo; echo '; default listen address for easy override in later php-fpm.d/*.conf files'; echo 'listen = 9000'; } | tee php-fpm.d/docker.conf; { echo '[global]'; echo 'daemonize = no'; echo; echo '; the [www] ini section below is for backwards compatibility and will be removed in 8.6+'; echo '[www]'; } | 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 |
| STOPSIGNAL SIGQUIT |
| EXPOSE map[9000/tcp:{}] |
| CMD ["php-fpm"] |
| RUN /bin/sh -c apk add --no-cache oniguruma libxml2 libsodium freetype libpng libjpeg-turbo libwebp libpq mariadb-client icu-libs icu-data-full libzip imagemagick imagemagick-jpeg # buildkit |
| ARG GEOIPUPDATE_VERSION=8.0.0 |
| ARG TARGETARCH=amd64 |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c set -eu; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64) sum=941eb4dd8c1eafb6ee1d56ccd5f4c62ffbdaca5f65a9f9cadc4008c8d805f2a2 ;; arm64) sum=76cedc3bad8b5f02a3ea42ac84c57d318a758377a07806f7a13189a382f16308 ;; *) echo "unsupported arch $arch" >&2; exit 1 ;; esac; tarball="geoipupdate_${GEOIPUPDATE_VERSION}_linux_${arch}.tar.gz"; wget -q -O "/tmp/$tarball" "https://github.com/maxmind/geoipupdate/releases/download/v${GEOIPUPDATE_VERSION}/$tarball"; echo "$sum /tmp/$tarball" | sha256sum -c -; tar -xzf "/tmp/$tarball" -C /tmp; install -m 0755 "/tmp/geoipupdate_${GEOIPUPDATE_VERSION}_linux_${arch}/geoipupdate" /usr/bin/geoipupdate; rm -rf /tmp/geoipupdate_*; /usr/bin/geoipupdate --version # buildkit |
| COPY /usr/local/lib/php/extensions/ /usr/local/lib/php/extensions/ # buildkit |
| COPY /usr/local/etc/php/conf.d/ /usr/local/etc/php/conf.d/ # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c php -r '$formatter = new \MessageFormatter("ru_RU", "{count, plural, one{one} few{few} many{many} other{other}}"); if (! extension_loaded("intl") || \Locale::getPrimaryLanguage("en_US") !== "en" || $formatter->format(["count" => 2]) !== "few") { fwrite(STDERR, "PHP intl locale/plural support is required.\n"); exit(1); }' # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c php -r '$out = (new \NumberFormatter("de_DE", \NumberFormatter::DECIMAL))->format(1234.5); if ($out !== "1.234,5") { fwrite(STDERR, "ICU locale data is English-only (de_DE formatted 1234.5 as ".$out."); install icu-data-full.\n"); exit(1); }' # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c php -r 'exit(function_exists("imagewebp") && (gd_info()["WebP Support"] ?? false) ? 0 : 1);' # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c php -r 'exit(class_exists("ZipArchive") ? 0 : 1);' # buildkit |
| COPY docker/php/zz-ezs-cve-2026-115560.ini /usr/local/etc/php/conf.d/zz-ezs-cve-2026-115560.ini # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c php -r 'exit(in_array(ini_get("session.upload_progress.enabled"), ["", "0"], true) ? 0 : 1);' # buildkit |
| RUN |2 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 /bin/sh -c apk add --no-cache ffmpeg tini # buildkit |
| ARG YT_DLP_VERSION=2026.08.19 |
| ARG TARGETARCH=amd64 |
| RUN |3 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 YT_DLP_VERSION=2026.08.19 /bin/sh -c set -eu; apk add --no-cache nodejs; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64) asset=yt-dlp_musllinux; sum=f3dec9cfeaf304cec98290fe41c6ad465d4b747d302473559643e7af24929722 ;; arm64) asset=yt-dlp_musllinux_aarch64; sum=17b164c4d258be92bb1ad146cb7c336b783aedb380814aabbcb7d52937f77e57 ;; *) echo "unsupported arch $arch" >&2; exit 1 ;; esac; wget -q -O /tmp/yt-dlp "https://github.com/yt-dlp/yt-dlp/releases/download/${YT_DLP_VERSION}/${asset}"; echo "$sum /tmp/yt-dlp" | sha256sum -c -; install -m 0755 /tmp/yt-dlp /usr/local/bin/yt-dlp; rm -f /tmp/yt-dlp; test "$(/usr/local/bin/yt-dlp --version)" = "${YT_DLP_VERSION}"; node --version # buildkit |
| COPY docker/php/worker.ini /usr/local/etc/php/conf.d/zz-worker.ini # buildkit |
| RUN |3 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 YT_DLP_VERSION=2026.08.19 /bin/sh -c mkdir -p /tmp/opcache && chmod 0777 /tmp/opcache # buildkit |
| WORKDIR /var/www/html |
| COPY --chown=www-data:www-data . . # buildkit |
| COPY --chown=www-data:www-data /app/vendor ./vendor # buildkit |
| RUN |3 GEOIPUPDATE_VERSION=8.0.0 TARGETARCH=amd64 YT_DLP_VERSION=2026.08.19 /bin/sh -c rm -f bootstrap/cache/packages.php bootstrap/cache/services.php && mkdir -p storage/app/private storage/framework/cache/data storage/framework/sessions storage/framework/views storage/logs && chown -R www-data:www-data storage bootstrap/cache && chmod -R 775 storage bootstrap/cache && CACHE_DRIVER=array QUEUE_CONNECTION=sync SESSION_DRIVER=file php artisan package:discover --ansi || true # buildkit |
| USER www-data |
| HEALTHCHECK {Test:[CMD-SHELL php /var/www/html/artisan horizon:status | grep -q running || exit 1] Interval:30s Timeout:5s StartPeriod:30s StartInterval:0s Retries:3} |
| CMD ["tini" "-g" "--" "php" "artisan" "horizon"] |
Details
2026-10-30 18:49:07 -04:00
Versions (1982)
View all
Container
0
OCI / Docker
buildcache-app
2026-11-23
latest
2026-11-23
v2.68.0
2026-11-23
buildcache-horizon
2026-11-23
horizon-latest
2026-11-23