Namespace
roundcube
Image / Tag
roundcubemail:1.6-beta-fpm-alpine
Content Digest
sha256:0857fba8ac2e4ddad89f306d9a05881088d30cd8cf59a5f768be2ce7f8a65b12
Details
Created

2022-03-07 21:23:45 UTC

Size

95.1 MB

Content Digest
Labels

Environment
GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

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

f27a2f25259e8c51e42dfd74e24a546ee521438ad7d9f6c6e794aa91f38bab0a

PHP_URL

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

PHP_VERSION

8.0.16

ROUNDCUBEMAIL_KEYID

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

ROUNDCUBEMAIL_VERSION

1.6-beta


Layers

[#000] sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3 - 2.83% (2.69 MB)

[#001] sha256:7c7da25b2876b1c935b05d7e6efa3e8cd559d031cf30b246d7659ed438726acd - 1.71% (1.63 MB)

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

[#003] sha256:927a0b37a45a98d7d74a6d7d1567230eca834fb89417274557de7986d1f39401 - 0.0% (268 Bytes)

[#004] sha256:4980da2f4b2ff4ec9ffdfef85e5ce26f3cffabb61b890f15c5c553948bad2c65 - 10.92% (10.4 MB)

[#005] sha256:2d8d633f95152424fcb2f23e5cdc379d0004082718ff2d06c40155289765bcb4 - 0.0% (501 Bytes)

[#006] sha256:e0344fa6721078ddab6eb4f2fbd93479490352a2b9e223c36864cb64088b1817 - 12.81% (12.2 MB)

[#007] sha256:3e4ffc5b87420f262cf2f07402a5ef4ef8b29e01a6cde3669fd087c26e7798f6 - 0.0% (2.25 KB)

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

[#009] sha256:1a4a896551df891808a1830beb963cceabeabbb8f39363e6f18eb0ad69b50c60 - 0.01% (8.37 KB)

[#010] sha256:5adcd1a10389c472b1551b4b93928cbfd0f326994a44f2d98288ee089efe32aa - 5.52% (5.25 MB)

[#011] sha256:9aad5a6a70bb8dcb5ccf3c735ce48ff4d59f82535f8802c60a733b5aed8f5cf0 - 59.64% (56.7 MB)

[#012] sha256:893d0d45f5659a1e14d9c599de6a8ead47977431c90e8ac3fa0eec3a462c41b4 - 0.58% (562 KB)

[#013] sha256:990b8d0aefbd62c3eae7339ee82def3eedc656362f67d3eebaec3d12a11feedf - 5.96% (5.66 MB)

[#014] sha256:8d9fa8c85fde53377611a0b9a4c6f0578f058978d154cef06cd589199b89d361 - 0.0% (913 Bytes)

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

[#016] sha256:8de3276f2164b01fd833e0ce271b79a25b7c1d59dd3da0f417b0fb8fd79f428f - 0.0% (366 Bytes)

[#017] sha256:f3bf93b7476a5a375d0b5da91f64cc6f74700bd3d5f0f9b9708e9feba83917c2 - 0.0% (2 KB)


History
2021-11-24 20:19:40 UTC

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

2021-11-24 20:19:40 UTC

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

2021-11-30 07:06:02 UTC

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

2021-11-30 07:06:03 UTC

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

2021-11-30 07:06:04 UTC

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

2021-11-30 07:06:04 UTC

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

2021-11-30 07:06:05 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-30 07:06:05 UTC

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

2021-11-30 07:06:06 UTC

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

2021-11-30 07:06:06 UTC

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

2021-11-30 07:50:54 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F

2022-02-18 22:07:31 UTC

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

2022-02-18 22:07:31 UTC

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

2022-02-18 22:07:31 UTC

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

2022-02-18 22:08:47 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-02-18 22:08:47 UTC

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

2022-03-03 09:34:45 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 --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-03-03 09:34:45 UTC

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

2022-03-03 09:34:47 UTC

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

2022-03-03 09:34:47 UTC

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

2022-03-03 09:34:47 UTC

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

2022-03-03 09:34:47 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-03-03 09:34:47 UTC

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

2022-03-03 09:34:48 UTC

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

2022-03-03 09:34:48 UTC

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

2022-03-07 21:20:00 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Thomas Bruederli <[email protected]>

2022-03-07 21:20:00 UTC (buildkit.dockerfile.v0)

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

2022-03-07 21:23:38 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

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

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

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

VOLUME [/var/roundcube/config]

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

VOLUME [/var/roundcube/db]

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

VOLUME [/tmp/roundcube-temp]

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

ENV ROUNDCUBEMAIL_VERSION=1.6-beta

2022-03-07 21:23:39 UTC (buildkit.dockerfile.v0)

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

2022-03-07 21:23:44 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

2022-03-07 21:23:44 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

2022-03-07 21:23:45 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

2022-03-07 21:23:45 UTC (buildkit.dockerfile.v0)

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

2022-03-07 21:23:45 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh / # buildkit

2022-03-07 21:23:45 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/docker-entrypoint.sh"]

2022-03-07 21:23:45 UTC (buildkit.dockerfile.v0)

CMD ["php-fpm"]