• Joined on 2026-05-25

gabriel-crm (e4a6b2f)

Published 2026-06-15 18:44:45 -03:00 by eduardo

Installation

docker pull git.lancamentoslencois.com/eduardo/gabriel-crm:e4a6b2f
sha256:55ebddaba4e9f849e468fdb4ae20ffc196c146042307d79e153c48510d3fe6a9

About this package

The modern PHP app server

Image Layers

ADD alpine-minirootfs-3.24.0-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.22
ENV PHP_URL=https://www.php.net/distributions/php-8.4.22.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.4.22.tar.xz.asc
ENV PHP_SHA256=696c0f6ad92e94c59059c1eb6e300842b8d050934226efcdf00f2a413cb083cf
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)"; 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 --enable-phpdbg --enable-phpdbg-readline --with-pear --enable-embed --enable-zts --disable-zend-signals ; 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"]
CMD ["php" "-a"]
ARG TARGETARCH=amd64
WORKDIR /app
RUN |1 TARGETARCH=amd64 /bin/sh -c apk add --no-cache ca-certificates libcap mailcap # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c set -eux; mkdir -p /app/public /config/caddy /data/caddy /etc/caddy /etc/frankenphp; sed -i 's/php/frankenphp run/g' /usr/local/bin/docker-php-entrypoint; echo '<?php phpinfo();' > /app/public/index.php # buildkit
COPY caddy/frankenphp/Caddyfile /etc/caddy/Caddyfile # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c ln /etc/caddy/Caddyfile /etc/frankenphp/Caddyfile && curl -sSLf -o /usr/local/bin/install-php-extensions https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions && chmod +x /usr/local/bin/install-php-extensions # buildkit
CMD ["--config" "/etc/frankenphp/Caddyfile" "--adapter" "caddyfile"]
HEALTHCHECK {Test:[CMD-SHELL curl -f http://localhost:2019/metrics || exit 1] Interval:0s Timeout:0s StartPeriod:0s StartInterval:0s Retries:0}
ENV XDG_CONFIG_HOME=/config
ENV XDG_DATA_HOME=/data
EXPOSE [80/tcp]
EXPOSE [443/tcp]
EXPOSE [443/udp]
EXPOSE [2019/tcp]
LABEL org.opencontainers.image.title=FrankenPHP
LABEL org.opencontainers.image.description=The modern PHP app server
LABEL org.opencontainers.image.url=https://frankenphp.dev
LABEL org.opencontainers.image.source=https://github.com/php/frankenphp
LABEL org.opencontainers.image.licenses=MIT
LABEL org.opencontainers.image.vendor=Kévin Dunglas
ENV GODEBUG=cgocheck=0
COPY /usr/local/lib/libwatcher* /usr/local/lib/ # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c apk add --no-cache libstdc++ && ldconfig /usr/local/lib # buildkit
COPY /usr/local/bin/frankenphp /usr/local/bin/frankenphp # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c setcap cap_net_bind_service=+ep /usr/local/bin/frankenphp && frankenphp version && frankenphp build-info # buildkit
ENV TZ=America/Sao_Paulo PHP_INI_DIR=/usr/local/etc/php
/bin/sh -c apk add --no-cache postgresql-libs libpng libzip icu-libs oniguruma libjpeg-turbo libwebp libavif libxml2 ca-certificates tzdata curl wget git && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS postgresql-dev libpng-dev libzip-dev icu-dev oniguruma-dev libjpeg-turbo-dev libwebp-dev libavif-dev libxml2-dev linux-headers && docker-php-ext-configure gd --with-jpeg --with-webp --with-avif && docker-php-ext-install -j"$(nproc)" pdo pdo_pgsql bcmath exif gd intl mbstring xml zip pcntl sockets opcache && pecl install redis && docker-php-ext-enable redis opcache && apk del .build-deps && rm -rf /tmp/* /var/cache/apk/*
COPY file:9ed516cf13eba4591b1fbcc9e7b50e0e70f0616715e5b7034243cb16cc89018e in /usr/local/bin/composer
ENV COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_NO_INTERACTION=1 COMPOSER_MEMORY_LIMIT=-1
WORKDIR /app
/bin/sh -c apk add --no-cache postgresql-client && rm -rf /var/cache/apk/*
ENV OCTANE_SERVER=frankenphp APP_ENV=production APP_DEBUG=false LOG_CHANNEL=stderr
/bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.enable_cli=1'; echo 'opcache.memory_consumption=256'; echo 'opcache.max_accelerated_files=20000'; echo 'opcache.validate_timestamps=0'; echo 'realpath_cache_size=4096K'; echo 'realpath_cache_ttl=600'; } > "${PHP_INI_DIR}/conf.d/zz-octane.ini"
WORKDIR /app
COPY --chown=www-data:www-data dir:e677de7e424d55e48b495de395a4e5e362988712bfc230706b6fa471f1096cf9 in .
COPY --chown=www-data:www-data dir:e3d1e127f268e2f964e87f180c86c60eedc9bd4984c91959bcd438b979c7300a in ./vendor
COPY --chown=www-data:www-data dir:15d56dd3f089ff606b26576794d7c333b83f07002fe6da2e83b9e09d3b4425de in ./public/build
/bin/sh -c rm -f bootstrap/cache/packages.php bootstrap/cache/services.php && composer dump-autoload --classmap-authoritative --no-dev --no-scripts && APP_KEY=base64:$(head -c 32 /dev/urandom | base64) php artisan package:discover --ansi && mkdir -p storage/framework/cache/data storage/framework/sessions storage/framework/views storage/framework/testing storage/logs storage/app/public bootstrap/cache && chown -R www-data:www-data storage bootstrap/cache && chmod -R u+rwX,g+rX storage bootstrap/cache
COPY --chown=www-data:www-data file:92ef521f99a8492bea4402fba602d534339abaa70022d61a42fed03efc303ed4 in /usr/local/bin/entrypoint.sh
/bin/sh -c chmod +x /usr/local/bin/entrypoint.sh
USER www-data
EXPOSE 8000
HEALTHCHECK &{["CMD-SHELL" "curl -fsS --max-time 4 http://127.0.0.1:8000/up >/dev/null || exit 1"] "30s" "5s" "1m0s" "0s" '\x03'}
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["php" "artisan" "octane:start" "--server=frankenphp" "--host=0.0.0.0" "--port=8000" "--workers=auto"]

Labels

Key Value
dev.frankenphp.base.fingerprint f462cdd3f34007475c4b57d8dbb1669c07a7cc6d3e51afcf19cee783c185af7d
org.opencontainers.image.created 2026-06-13T05:27:53Z
org.opencontainers.image.description The modern PHP app server
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision 3f562082c90275d7550c0417352f8cc5c3d0566a
org.opencontainers.image.source https://github.com/php/frankenphp
org.opencontainers.image.title FrankenPHP
org.opencontainers.image.url https://frankenphp.dev
org.opencontainers.image.vendor Kévin Dunglas
org.opencontainers.image.version v1.12.4
Details
Container
2026-06-15 18:44:45 -03:00
1
OCI / Docker
linux/amd64
MIT
107 MiB
Versions (37) View all
latest 2026-07-15
f402afc 2026-07-15
e4a6b2f 2026-06-15
55a9bce 2026-06-15
1b42da0 2026-06-15