Namespace
martialblog
Image / Tag
limesurvey:6.8.2-241203-fpm-alpine
Content Digest
sha256:71327112f85d238667c5b6197c0707aaf7d867de9da83ba7d6d6c7d87334071b
Details
Created

2024-12-23 09:38:56 UTC

Size

120 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.created
    2024-12-23T09:37:11.721Z
  • org.opencontainers.image.description
    A Docker Image for LimeSurvey
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    a7e54e994d004df9047a41a4ebfc8853c8adf4b6
  • org.opencontainers.image.source
    https://github.com/martialblog/docker-limesurvey
  • org.opencontainers.image.title
    docker-limesurvey
  • org.opencontainers.image.url
    https://github.com/martialblog/docker-limesurvey
  • org.opencontainers.image.version
    6.8.2-241203-fpm-alpine

Environment
GPG_KEYS

528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

LIMESURVEY_VERSION

6.8.2+241203

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.1.31.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

c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca

PHP_URL

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

PHP_VERSION

8.1.31


Layers

[#000] sha256:38a8310d387e375e0ec6fabe047a9149e8eb214073db9f461fee6251fd936a75 - 2.9% (3.48 MB)

[#001] sha256:242258773aaa628d08fc0ee0d5b711bacf3b8dce4c1c431f657f357c8718ca0a - 2.65% (3.18 MB)

[#002] sha256:da21994f16f6626fb12de1efd36a2692f232206dff780e6cedb5d06170b8b5e0 - 0.0% (946 Bytes)

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

[#004] sha256:39b61b4e34385ddedf9538b203cb539de93060682245cbd586d9780f3f49ddfc - 9.49% (11.4 MB)

[#005] sha256:4f84ae71767afededde8951b7b06486a7830019460cb4025666ac5e382b9137f - 0.0% (488 Bytes)

[#006] sha256:c1e9b7c2d7c26a27994b6b4fe1c34e0de18be1a6e29cb812e548c931c0790533 - 10.1% (12.1 MB)

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

[#008] sha256:69b294c466eb62f621f00d2b7c668626d9130a62a0c7e3e291946650b76b89c5 - 0.02% (19.6 KB)

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

[#010] sha256:ae0fa8a25393dcc8f228956235af8bb2bb7b7801cdf067c681d7272fdbbdb7ba - 0.01% (8.67 KB)

[#011] sha256:585c200c9b841296d6879acf30ad4846e3f2c4e059c3100919a48340bca494b3 - 0.65% (797 KB)

[#012] sha256:34c12a8e44794ef6063fffae389a209e9907ed804ac0a7c650e7501433371bb1 - 2.21% (2.65 MB)

[#013] sha256:a33c2dc8f0fe994dce992ecfd2eef62c617a070bd7f7d68f66d366e86325903d - 71.97% (86.3 MB)

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

[#015] sha256:01a703ff1746186e2e21388fc80be8719cf5438e0b83431b24ed22df1d20dba0 - 0.0% (1.93 KB)


History
2024-12-05 12:49:04 UTC (buildkit.dockerfile.v0)

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

2024-12-05 12:49:04 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.1.31

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 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 patch patchutils 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; curl -fL 'https://github.com/php/php-src/commit/577b8ae4226368e66fee7a9b5c58f9e2428372fc.patch?full_index=1' -o 11678.patch; echo '6edc20c3bb3e7cc13515abce7f2fffa8ebea6cf7469abfbc78fcdc120350b239 *11678.patch' | sha256sum -c -; patch -p1 < 11678.patch; rm 11678.patch; curl -fL 'https://github.com/php/php-src/commit/67259e451d5d58b4842776c5696a66d74e157609.patch?full_index=1' -o 14834.patch; echo 'ed10a1b254091ad676ed204e55628ecbd6c8962004d6185a1821cedecd526c0f *14834.patch' | sha256sum -c -; filterdiff -x '*/NEWS' 14834.patch | patch -p1; rm 14834.patch; 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-ftp --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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2024-12-23 09:37:14 UTC (buildkit.dockerfile.v0)

LABEL [email protected]

2024-12-23 09:37:14 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache netcat-openbsd libsasl libldap bash # buildkit

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps freetype-dev libpng-dev libzip-dev libjpeg-turbo-dev tidyhtml-dev libsodium-dev openldap-dev oniguruma-dev imap-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure imap --with-imap-ssl; docker-php-ext-install -j "$(nproc)" exif gd imap ldap mbstring pdo pdo_mysql pdo_pgsql pgsql sodium tidy zip ; 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-cache --no-network --virtual .limesurvey-phpext-rundeps $runDeps; apk del --no-cache --no-network .build-deps # buildkit

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

ARG version=6.8.2+241203

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

ARG sha256_checksum=0d4ae3b139b948ee78184a8b1cdcdb358ee9c1e0163bde2f90a908a7993c7876

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

ARG archive_url=https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.8.2+241203.tar.gz

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

ARG USER=www-data

2024-12-23 09:38:39 UTC (buildkit.dockerfile.v0)

ENV LIMESURVEY_VERSION=6.8.2+241203

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

RUN |4 version=6.8.2+241203 sha256_checksum=0d4ae3b139b948ee78184a8b1cdcdb358ee9c1e0163bde2f90a908a7993c7876 archive_url=https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.8.2+241203.tar.gz USER=www-data /bin/sh -c set -ex; curl -sSL "${archive_url}" --output /tmp/limesurvey.tar.gz && echo "${sha256_checksum} /tmp/limesurvey.tar.gz" | sha256sum -c - && tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C /var/www/html/ && rm -rf "/tmp/limesurvey.tar.gz" /var/www/html/docs /var/www/html/tests /var/www/html/*.md && chown -R "${USER}:root" /var/www/ ; chmod -R g=u /var/www # buildkit

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

USER www-data

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

2024-12-23 09:38:56 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

Details
Created

2024-12-23 09:52:14 UTC

Size

120 MB

Content Digest
Labels
  • maintainer
  • org.opencontainers.image.created
    2024-12-23T09:37:11.721Z
  • org.opencontainers.image.description
    A Docker Image for LimeSurvey
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    a7e54e994d004df9047a41a4ebfc8853c8adf4b6
  • org.opencontainers.image.source
    https://github.com/martialblog/docker-limesurvey
  • org.opencontainers.image.title
    docker-limesurvey
  • org.opencontainers.image.url
    https://github.com/martialblog/docker-limesurvey
  • org.opencontainers.image.version
    6.8.2-241203-fpm-alpine

Environment
GPG_KEYS

528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

LIMESURVEY_VERSION

6.8.2+241203

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.1.31.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

c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca

PHP_URL

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

PHP_VERSION

8.1.31


Layers

[#000] sha256:cb8611c9fe5154550f45e284cf977cda4e2b2fee3478552eee31d84be3c95003 - 3.16% (3.81 MB)

[#001] sha256:f02eb691f526c59a4feade4837dd3c26533d9fe4c9306da60dc23a30620af346 - 2.64% (3.18 MB)

[#002] sha256:05f32f7c87db3a6447e39cf371cb0c2bb2c95f7a814793eff967d2a9a3b95122 - 0.0% (947 Bytes)

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

[#004] sha256:3e411b4e4ae81ba647ca6196b6da0e12f13cc1b196f3710f88cadbd11f7b45d7 - 9.46% (11.4 MB)

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

[#006] sha256:af4e9ade6b3bd808b2ebcb77b8eef3ee6b1dbd3a0aa4d02bf3fc638e093cbf4b - 10.05% (12.1 MB)

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

[#008] sha256:6e311c7c00c65f0dc0db1bb7ba2196903baa7e5f3787957a9a30e1253883561d - 0.02% (19.4 KB)

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

[#010] sha256:dd097d59dfef162f5e57383119e7a1b5c592e153ec1700d8e6c8df61fe3cd269 - 0.01% (8.67 KB)

[#011] sha256:f5691e543d7ffc9fac1cfd2d3bcb5e0492c35b8761fadba3a68eec2c9aa73889 - 0.71% (870 KB)

[#012] sha256:f7dd1c20c6db7923330b8e89172212a85341cf731ab15aac8ab2fedc2b380054 - 2.23% (2.68 MB)

[#013] sha256:5dccf2d5d40737d37d9bcac3e25212146368f842d7a3dc7c3b098480a943d68a - 71.72% (86.3 MB)

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

[#015] sha256:e5e46c0781eaa4940c2cde8dda1fbfba93b383f9f37d12e1b36f11ee3bfafd4b - 0.0% (1.93 KB)


History
2024-12-05 12:49:04 UTC (buildkit.dockerfile.v0)

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

2024-12-05 12:49:04 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.1.31

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 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 patch patchutils 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; curl -fL 'https://github.com/php/php-src/commit/577b8ae4226368e66fee7a9b5c58f9e2428372fc.patch?full_index=1' -o 11678.patch; echo '6edc20c3bb3e7cc13515abce7f2fffa8ebea6cf7469abfbc78fcdc120350b239 *11678.patch' | sha256sum -c -; patch -p1 < 11678.patch; rm 11678.patch; curl -fL 'https://github.com/php/php-src/commit/67259e451d5d58b4842776c5696a66d74e157609.patch?full_index=1' -o 14834.patch; echo 'ed10a1b254091ad676ed204e55628ecbd6c8962004d6185a1821cedecd526c0f *14834.patch' | sha256sum -c -; filterdiff -x '*/NEWS' 14834.patch | patch -p1; rm 14834.patch; 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-ftp --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-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

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

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2024-12-11 09:15:55 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-11 09:15:55 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGQUIT

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-12-11 09:15:55 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]

2024-12-23 09:37:16 UTC (buildkit.dockerfile.v0)

LABEL [email protected]

2024-12-23 09:37:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache netcat-openbsd libsasl libldap bash # buildkit

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps freetype-dev libpng-dev libzip-dev libjpeg-turbo-dev tidyhtml-dev libsodium-dev openldap-dev oniguruma-dev imap-dev postgresql-dev ; docker-php-ext-configure gd --with-freetype --with-jpeg; docker-php-ext-configure imap --with-imap-ssl; docker-php-ext-install -j "$(nproc)" exif gd imap ldap mbstring pdo pdo_mysql pdo_pgsql pgsql sodium tidy zip ; 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-cache --no-network --virtual .limesurvey-phpext-rundeps $runDeps; apk del --no-cache --no-network .build-deps # buildkit

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

ARG version=6.8.2+241203

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

ARG sha256_checksum=0d4ae3b139b948ee78184a8b1cdcdb358ee9c1e0163bde2f90a908a7993c7876

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

ARG archive_url=https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.8.2+241203.tar.gz

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

ARG USER=www-data

2024-12-23 09:51:50 UTC (buildkit.dockerfile.v0)

ENV LIMESURVEY_VERSION=6.8.2+241203

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

RUN |4 version=6.8.2+241203 sha256_checksum=0d4ae3b139b948ee78184a8b1cdcdb358ee9c1e0163bde2f90a908a7993c7876 archive_url=https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/6.8.2+241203.tar.gz USER=www-data /bin/sh -c set -ex; curl -sSL "${archive_url}" --output /tmp/limesurvey.tar.gz && echo "${sha256_checksum} /tmp/limesurvey.tar.gz" | sha256sum -c - && tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C /var/www/html/ && rm -rf "/tmp/limesurvey.tar.gz" /var/www/html/docs /var/www/html/tests /var/www/html/*.md && chown -R "${USER}:root" /var/www/ ; chmod -R g=u /var/www # buildkit

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

EXPOSE map[9000/tcp:{}]

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

USER www-data

2024-12-23 09:52:14 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

2024-12-23 09:52:14 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