Namespace
roundcube
Image / Tag
roundcubemail:1.4.12-fpm-alpine
Content Digest
sha256:2dc7db4d3c6a431d35979ffe348ec14d0daa9ad04ad8a26e180814638d782b28
Details
Created

2021-11-28 20:43:51 UTC

Size

93 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.26.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

e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8

PHP_URL

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

PHP_VERSION

7.4.26

ROUNDCUBEMAIL_KEYID

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

ROUNDCUBEMAIL_VERSION

1.4.12


Layers

[#000] sha256:97518928ae5f3d52d4164b314a7e73654eb686ecd8aafa0b79acd980773a740d - 2.9% (2.69 MB)

[#001] sha256:b67f99012ff9aa7245baebc28963e44f53cc1832fcfaec246f78b5e7e861fbe6 - 1.76% (1.63 MB)

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

[#003] sha256:5646ac679ebe77089fb6446f9911a66ae64db7d5b774d356b04c1c911ca0a081 - 0.0% (268 Bytes)

[#004] sha256:0be823f312052566b7ce9a4bd0f842ce5bb4a3eb11a295a0326824ffabb11329 - 10.71% (9.96 MB)

[#005] sha256:a2bf6fbeb3f2d33e3045b03de8b00c39540b64ff8ade8bbbceaee342cee8de90 - 0.0% (499 Bytes)

[#006] sha256:e81a787dbd1e9ce1abbb601e5097839f68fa0872fcf2b20fe9e08d92706cc3f6 - 14.74% (13.7 MB)

[#007] sha256:8c60064d1dcd12774fdd35b08d44c9d8d6c36a2d2d22665d0c9aac5122765bae - 0.0% (2.25 KB)

[#008] sha256:5ad85c2c33f48fea14f6fcc5a45bda37d44c29b176783ba30c4ef8ffaec9579a - 0.02% (17.8 KB)

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

[#010] sha256:9286f8bfcee050f2805cbb141eaefd55bfd0367750bb3f7fbf377091a24c5ed5 - 2.21% (2.05 MB)

[#011] sha256:90e3d9b802f5f590db63b4054d4d681d646821256153e78ecb736e11dce0f1c7 - 59.89% (55.7 MB)

[#012] sha256:1619e1dda58e387a6b665ce6903ee685bdc010bc3737aeec8a95c3c1b024fbc5 - 0.02% (17.2 KB)

[#013] sha256:b185b9c642874ea7daf657f045b77841f178b5a30c133965d43186655bf63906 - 0.58% (552 KB)

[#014] sha256:0e4c860ed2e35d743f5484d3352e9b51d8d4f14823a18d8928e92e5dc49aae59 - 7.17% (6.66 MB)

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

[#016] sha256:a8276aa60cd7f91f66aad47807a1270374d30657e8b000c38329f48642818a16 - 0.0% (367 Bytes)

[#017] sha256:73e506500f14a9148ebe28ce6c14d0f93752808ce422c59c5bdbc667f91d1289 - 0.0% (1.84 KB)


History
2021-11-12 17:19:44 UTC

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

2021-11-12 17:19:45 UTC

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

2021-11-13 07:48:43 UTC

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

2021-11-13 07:48:45 UTC

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

2021-11-13 07:48:47 UTC

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

2021-11-13 07:48:47 UTC

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

2021-11-13 07:48:48 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

2021-11-13 07:48:49 UTC

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

2021-11-13 07:48:49 UTC

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

2021-11-13 07:48:49 UTC

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

2021-11-13 09:13:39 UTC

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

2021-11-18 16:53:45 UTC

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

2021-11-18 16:53:46 UTC

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

2021-11-18 16:53:46 UTC

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

2021-11-18 16:54:02 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

2021-11-18 16:54:02 UTC

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

2021-11-18 17:12:26 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS argon2-dev coreutils curl-dev libsodium-dev libxml2-dev linux-headers oniguruma-dev openssl-dev readline-dev sqlite-dev ; 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-openssl --with-readline --with-zlib --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

2021-11-18 17:12:28 UTC

/bin/sh -c #(nop) COPY multi:7d7d4b016ee2e2e18720a1a58004eb4d59de798c619f217398cc1066a656bfd0 in /usr/local/bin/

2021-11-18 17:12:30 UTC

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

2021-11-18 17:12:31 UTC

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

2021-11-18 17:12:31 UTC

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

2021-11-18 17:12:33 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

2021-11-18 17:12:33 UTC

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

2021-11-18 17:12:34 UTC

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

2021-11-18 17:12:34 UTC

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

2021-11-28 20:40:16 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Thomas Bruederli <[email protected]>

2021-11-28 20:40:16 UTC (buildkit.dockerfile.v0)

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

2021-11-28 20:43:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev imagemagick-dev libjpeg-turbo-dev libpng-dev libzip-dev libtool openldap-dev postgresql-dev sqlite-dev ; docker-php-ext-configure gd; docker-php-ext-configure ldap; docker-php-ext-install exif gd intl ldap pdo_mysql pdo_pgsql pdo_sqlite zip ; 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

2021-11-28 20:43:44 UTC (buildkit.dockerfile.v0)

ADD https://getcomposer.org/installer /tmp/composer-installer.php # buildkit

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c php /tmp/composer-installer.php --install-dir=/usr/local/bin/; rm /tmp/composer-installer.php # buildkit

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

VOLUME [/var/roundcube/config]

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

VOLUME [/var/roundcube/db]

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

VOLUME [/tmp/roundcube-temp]

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

ENV ROUNDCUBEMAIL_VERSION=1.4.12

2021-11-28 20:43:45 UTC (buildkit.dockerfile.v0)

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

2021-11-28 20:43:50 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

2021-11-28 20:43:51 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

2021-11-28 20:43:51 UTC (buildkit.dockerfile.v0)

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

2021-11-28 20:43:51 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh / # buildkit

2021-11-28 20:43:51 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2021-11-28 20:43:51 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]