Namespace
roundcube
Image / Tag
roundcubemail:1.5.6-fpm-alpine
Content Digest
sha256:d4278a78a55b0cedf49d9458571832a489c9b7bd65659e4570634422bac3e31f
Details
Created

2023-11-16 22:08:00 UTC

Size

93.7 MB

Content Digest
Labels

Environment
GPG_KEYS

42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

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

924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927

PHP_URL

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

PHP_VERSION

7.4.33

ROUNDCUBEMAIL_KEYID

F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5

ROUNDCUBEMAIL_VERSION

1.5.6


Layers

[#000] sha256:ca7dd9ec2225f2385955c43b2379305acd51543c28cf1d4e94522b3d94cce3ce - 2.86% (2.68 MB)

[#001] sha256:1b78b4fe0ca1ca5277d0b56997b3a74ac05ac52ff34cf9d5c6c063bd3feca07e - 1.75% (1.64 MB)

[#002] sha256:9d6040f2a28f7fd4288a87be2db7a8886104a1080402d0343e1c527c232d8963 - 0.0% (1.23 KB)

[#003] sha256:0e2e66b89284d71ee13c90182fe35d46d2461573064ae7f020aa4c22c1235e2a - 0.0% (267 Bytes)

[#004] sha256:3b1be5f02bec4a03578bdcd484547818e26c7313d2fb9889428db6718b00850c - 10.63% (9.96 MB)

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

[#006] sha256:e427679e7c26b1eeeba93df4fdf79a0c08bfc721bc4510195968798bb655456f - 11.67% (10.9 MB)

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

[#008] sha256:9820b782a6282df04c53f7626b7de4fdf19ef69ddff066214efa5b2fc73a739f - 0.02% (18.2 KB)

[#009] sha256:a9e6097c1efac68e19dae7ae83dd5b74a4fac7b246320168387aa66637b1c901 - 0.01% (8.25 KB)

[#010] sha256:9921daf4498dfb8e07da5fe5614dad139a273fc7c7c3da4337fdd01aa17e29a5 - 5.61% (5.26 MB)

[#011] sha256:8efb23dc6c812d12e728312a91837eeb6f5b95f5a5d9728143c94f3bef316506 - 58.79% (55.1 MB)

[#012] sha256:e024f0e722268aad9cf44278c65bb62f90c6d2d60e850c4d354145ce42afd7da - 0.72% (688 KB)

[#013] sha256:36a83d4f9dc864573203534f594c4b6cd2b34c10766b4d4f0e37fec6f4f76ac2 - 7.93% (7.43 MB)

[#014] sha256:445997de89fbb1b7207e0ef3f0b6b885c4ee28ac5f4a3a21ce49b5c1cb03a9f4 - 0.0% (923 Bytes)

[#015] sha256:d0362a3cd4c72e6e861c915801033e1ee03099a1ad963e0194dbeeb65a16005d - 0.0% (1.65 KB)

[#016] sha256:e881b8725251d5d89ccfae12fe18957d67d4d07b637ad06ae228edfc78d4a303 - 0.0% (372 Bytes)

[#017] sha256:a024f601f963dea1d68849e65570fd3e91c4fb385d9ccc636374782381b4c2d9 - 0.0% (1.98 KB)

[#018] sha256:96ea492b5d66f9bf5d008b578d0e27677430acc24a1c09ada6aa5d47ae155a80 - 0.0% (179 Bytes)


History
2022-11-12 04:19:23 UTC

/bin/sh -c #(nop) ADD file:ceeb6e8632fafc657116cbf3afbd522185a16963230b57881073dad22eb0e1a3 in /

2022-11-12 04:19:23 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2022-11-12 08:36:55 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2022-11-12 08:36:56 UTC

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

2022-11-12 08:36:57 UTC

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

2022-11-12 08:36:57 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2022-11-12 08:36:58 UTC

/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 777 /var/www/html

2022-11-12 08:36:58 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2022-11-12 08:36:58 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

2022-11-12 08:36:58 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie

2022-11-12 09:15:14 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

2022-11-12 09:15:14 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=7.4.33

2022-11-12 09:15:14 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.33.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.33.tar.xz.asc

2022-11-12 09:15:14 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927

2022-11-12 09:15:21 UTC

/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

2022-11-12 09:15:21 UTC

/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/

2022-11-12 09:22:22 UTC

/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; ln -sv /usr/include/gnu-libiconv/*.h /usr/include/; export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" ; 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-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" = 's390x-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

2022-11-12 09:22:22 UTC

/bin/sh -c #(nop) COPY multi:869bde9dbeae74886a05c9e2107b3e3b4877116db8c6d9adbaff2719f9fb5262 in /usr/local/bin/

2022-11-12 09:22:23 UTC

/bin/sh -c docker-php-ext-enable sodium

2022-11-12 09:22:23 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2022-11-12 09:22:23 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2022-11-12 09:22:24 UTC

/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 '; if we send this to /proc/self/fd/1, it never appears'; 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

2022-11-12 09:22:24 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGQUIT

2022-11-12 09:22:24 UTC

/bin/sh -c #(nop) EXPOSE 9000

2022-11-12 09:22:24 UTC

/bin/sh -c #(nop) CMD ["php-fpm"]

2023-10-18 20:25:34 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Thomas Bruederli <[email protected]>

2023-10-18 20:25:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache bash coreutils rsync tzdata aspell aspell-en # buildkit

2023-10-18 20:29:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev freetype-dev imagemagick-dev libjpeg-turbo-dev libpng-dev libzip-dev libtool openldap-dev postgresql-dev sqlite-dev aspell-dev ; docker-php-ext-configure gd --with-jpeg --with-freetype; docker-php-ext-configure ldap; docker-php-ext-install exif gd intl ldap pdo_mysql pdo_pgsql pdo_sqlite zip pspell ; pecl install imagick redis; docker-php-ext-enable imagick opcache redis; 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 --virtual .roundcubemail-phpext-rundeps imagemagick $runDeps; apk del .build-deps # buildkit

2023-10-18 20:29:27 UTC (buildkit.dockerfile.v0)

COPY /usr/bin/composer /usr/bin/composer # buildkit

2023-10-18 20:29:27 UTC (buildkit.dockerfile.v0)

ENV ROUNDCUBEMAIL_VERSION=1.5.6

2023-10-18 20:29:27 UTC (buildkit.dockerfile.v0)

ENV ROUNDCUBEMAIL_KEYID=F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5

2023-11-16 22:07:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps gnupg ; curl -o roundcubemail.tar.gz -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz; curl -o roundcubemail.tar.gz.asc -fSL https://github.com/roundcube/roundcubemail/releases/download/${ROUNDCUBEMAIL_VERSION}/roundcubemail-${ROUNDCUBEMAIL_VERSION}-complete.tar.gz.asc; export GNUPGHOME="$(mktemp -d)"; echo "disable-ipv6" > "$GNUPGHOME/dirmngr.conf"; curl -fSL https://roundcube.net/download/pubkey.asc -o /tmp/pubkey.asc; LC_ALL=C.UTF-8 gpg -n --show-keys --with-fingerprint --keyid-format=long /tmp/pubkey.asc | if [ $(grep -c -o 'Key fingerprint') != 1 ]; then echo 'The key file should contain only one GPG key'; exit 1; fi; LC_ALL=C.UTF-8 gpg -n --show-keys --with-fingerprint --keyid-format=long /tmp/pubkey.asc | if [ $(grep -c -o "${ROUNDCUBEMAIL_KEYID}") != 1 ]; then echo 'The key ID should be the roundcube one'; exit 1; fi; gpg --batch --import /tmp/pubkey.asc; rm /tmp/pubkey.asc; gpg --batch --verify roundcubemail.tar.gz.asc roundcubemail.tar.gz; gpgconf --kill all; mkdir /usr/src/roundcubemail; tar -xf roundcubemail.tar.gz -C /usr/src/roundcubemail --strip-components=1 --no-same-owner; rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; rm -rf /usr/src/roundcubemail/installer; chown -R www-data:www-data /usr/src/roundcubemail/logs; apk del .fetch-deps # buildkit

2023-11-16 22:07:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh # buildkit

2023-11-16 22:07:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh # buildkit

2023-11-16 22:07:59 UTC (buildkit.dockerfile.v0)

COPY php.ini /usr/local/etc/php/conf.d/roundcube-defaults.ini # buildkit

2023-11-16 22:07:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh / # buildkit

2023-11-16 22:08:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /var/roundcube/config # buildkit

2023-11-16 22:08:00 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2023-11-16 22:08:00 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]