Namespace
fireflyiii
Image / Tag
data-importer:version-1.4.0
Content Digest
sha256:05f8e99dbafe57f7f2158298253d20c9fb27733abeec9e9c17ad8e951760464d
Details
Created

2023-12-17 15:58:16 UTC

Size

197 MB

Content Digest
Labels
  • build_version
    4.3
  • maintainer
    james@firefly-iii.org

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

BASE_IMAGE_BUILD

67

BASE_IMAGE_DATE

03-12-2023 21:04:27 CET

COMPOSER_ALLOW_SUPERUSER

1

DEBIAN_FRONTEND

noninteractive

FIREFLY_III_PATH

/var/www/html

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

IMPORTER

data

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.0.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

1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

PHP_URL

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

PHP_VERSION

8.3.0

VERSION

v1.4.0


Layers

[#000] sha256:75c11612678b54e79a38118fe66e532c61b3d0798afb741007b4cd3209c0ec4e - 15.67% (30.9 MB)

[#001] sha256:a4ef12a914c4fe5c28b2e53921e97f5cc2ec069ee52af8ccdff31379cedc50f0 - 0.06% (112 KB)

[#002] sha256:51b406b03d55d9af3db682556e166db3935d4912f386bba500a8c5b65f210b32 - 0.0% (225 Bytes)

[#003] sha256:efbc592860442a2c446651b979e09c18a9c6112184f77171729536943abb2a22 - 47.45% (93.6 MB)

[#004] sha256:c162f001d0847dc0c75cc8272c3b68b440d220b9a339a05ff35876f98e0b7967 - 0.0% (227 Bytes)

[#005] sha256:0f58328d9df3837b25d41f1b385fcbfa8be80575d3ab4cd26c5782c2f9148a61 - 9.45% (18.6 MB)

[#006] sha256:342a709315ad90d3231fa8ec7e3e66d7a324b1bb70119ea6b3c4138657b05b94 - 0.0% (435 Bytes)

[#007] sha256:c9c5ce7b1c81f344d962c08fbd2ed875ef9bcb11a022c84044edffabbf84a493 - 0.0% (487 Bytes)

[#008] sha256:0591876e21d64171d9fedf2c159fc8a4428b37cf7899c0e78bc4a8a43ece315b - 6.07% (12 MB)

[#009] sha256:c54370b0a84097d8cd1d53e5e089921a9a29c70c4ad426c34601cfa57398537a - 0.0% (491 Bytes)

[#010] sha256:ab9ef7b272d47458ac875d3074c309238240ac5c1f6d5b81c3edcdac2c6df249 - 5.73% (11.3 MB)

[#011] sha256:c17a27e6aaf614fb25f6bfb6460bd50222d89738333f9141427044191639bee3 - 0.0% (2.4 KB)

[#012] sha256:785330460cb0428145aeb0a50a3e390cbf10b755f9201b4f4e4ff886b06cc9d3 - 0.0% (247 Bytes)

[#013] sha256:bc00136d12ead3d5e2e7bedb094c058ef466821dcab59642642c0588ae0dc530 - 0.0% (894 Bytes)

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

[#015] sha256:da08ba5f14e409f905b3cb1c4ad98e86393f939c5870fe361e1e0235f2fa7008 - 0.0% (313 Bytes)

[#016] sha256:75ca2a6927a03dc196a74fed7ab93d8793154b35a05d2029db07173ed6e357bc - 0.0% (309 Bytes)

[#017] sha256:02457f7a7d8d8a80a9d53c51f26ac7c6c50bdcee1946cee4cb709d80cf569638 - 0.0% (1013 Bytes)

[#018] sha256:5ef2d3a5d6e5bb9a2ee399fedc5ce7e511a7dc43ffb9a4f5ab02291b6e574a34 - 0.0% (1.62 KB)

[#019] sha256:9fd4d9ab7f7db4775cbc47675dc2ede917cf4e82411ececf3f62455dfc334ff6 - 0.0% (427 Bytes)

[#020] sha256:6d760d82d305c2f3021f60916ed78aa5b9886472d7be428668c9c25ef08e2fc8 - 0.0% (228 Bytes)

[#021] sha256:f10f5fa2626aa58a910c5edca5748e703c2bff541fbf02eef3d16cceb86f0338 - 0.01% (29.8 KB)

[#022] sha256:30f4b519efa1c81ee6119e6144ae152a8e345602f609625776164f480628b97c - 6.67% (13.1 MB)

[#023] sha256:4e93526e2d3ed9fb45a0fe671994920ce613b9e5b834eae0b4f1de0353970284 - 0.57% (1.13 MB)

[#024] sha256:1ff87d64d28805bc58bc525a409d1927f1978ab5e87fe4be26200c129ce0a5f4 - 0.36% (717 KB)

[#025] sha256:ed05fa5039b2e7c568bc13ff99937dda0ec4cbab893e23ba093ddf2f27b6c81e - 0.0% (1.38 KB)

[#026] sha256:ffa82f474e3947dfacc3c100972c4e6444c2425c45f39e5b9c2036b3cbf7fa98 - 0.0% (172 Bytes)

[#027] sha256:548ebf8d772c8888bda0abe69d84bde33453c57376083d2976d565ac8fb5d1e7 - 0.0% (194 Bytes)

[#028] sha256:078846802396e42979765db6caf5ad72675ce374f5dd4eff350c260d006d7e0c - 7.95% (15.7 MB)


History
2023-11-21 04:40:15 UTC

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

2023-11-21 04:40:16 UTC

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

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV FIREFLY_III_PATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV BASE_IMAGE_BUILD=67 BASE_IMAGE_DATE=03-12-2023 21:04:27 CET

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

LABEL build_version=4.3 maintainer=james@firefly-iii.org

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

COPY ../conf/cacert.pem /etc/ssl/certs/cacert.pem # buildkit

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -H \"User-Agent: Firefly III Health Checker/2.2\" -f http://localhost:8080/health || exit 1"] "1m0s" "3s" "45s" "0s" '\x00'}

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:05:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl locales unzip xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-03 20:05:50 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-03 20:05:50 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

2023-12-03 20:05:50 UTC (buildkit.dockerfile.v0)

ENV APACHE_CONFDIR=/etc/apache2

2023-12-03 20:05:50 UTC (buildkit.dockerfile.v0)

ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork # buildkit

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.0

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:05 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

2023-12-03 20:06:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; 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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2023-12-03 20:06:17 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:02 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2023-12-03 20:15:02 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGWINCH

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY apache2-foreground /usr/local/bin/ # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html/storage/upload]

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../conf/locale.gen /etc/locale.gen # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-ports.conf /etc/apache2/ports.conf # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-site.conf /etc/apache2/sites-available/000-default.conf # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../scripts/wait-for-it.sh /usr/local/bin/wait-for-it.sh # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../scripts/finalize-image.sh /usr/local/bin/finalize-image.sh # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

COPY ../scripts/artisan.sh /usr/local/bin/artisan # buildkit

2023-12-03 20:15:03 UTC (buildkit.dockerfile.v0)

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ # buildkit

2023-12-03 20:15:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; /usr/sbin/locale-gen && chmod uga+x /usr/local/bin/finalize-image.sh && chmod uga+x /usr/local/bin/wait-for-it.sh && chmod uga+x /usr/local/bin/artisan && chmod uga+x /usr/local/bin/install-php-extensions && apt install -y curl # buildkit

2023-12-03 20:17:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux;install-php-extensions intl bcmath pdo_pgsql pdo_mysql opcache memcached # buildkit

2023-12-03 20:17:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; a2enmod rewrite env headers && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && sed -i 's/max_execution_time = 30/max_execution_time = 600/' /usr/local/etc/php/php.ini && sed -i 's/memory_limit = 128M/memory_limit = 1G/' /usr/local/etc/php/php.ini && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 64M/' /usr/local/etc/php/php.ini && sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini && sed -i 's/post_max_size = 8M/post_max_size = 64M/' /usr/local/etc/php/php.ini && echo 'ServerTokens Prod' >> /etc/apache2/apache2.conf && echo 'ServerSignature Off' >> /etc/apache2/apache2.conf # buildkit

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ARG version

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ARG importer

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ENV VERSION=v1.4.0

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ENV IMPORTER=data

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

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

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

COPY counter.txt /var/www/counter-main.txt # buildkit

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

COPY date.txt /var/www/build-date-main.txt # buildkit

2023-12-17 15:58:16 UTC (buildkit.dockerfile.v0)

RUN |2 version=v1.4.0 importer=data /bin/sh -c curl -SL https://github.com/firefly-iii/$IMPORTER-importer/archive/$VERSION.tar.gz | tar xzC $FIREFLY_III_PATH --strip-components 1 && chmod -R 775 $FIREFLY_III_PATH/storage && composer install --prefer-dist --no-dev --no-scripts && /usr/local/bin/finalize-image.sh # buildkit

2023-12-17 15:58:16 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-12-17 15:58:14 UTC

Size

194 MB

Content Digest
Labels
  • build_version
    4.3
  • maintainer
    james@firefly-iii.org

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

BASE_IMAGE_BUILD

67

BASE_IMAGE_DATE

03-12-2023 21:04:27 CET

COMPOSER_ALLOW_SUPERUSER

1

DEBIAN_FRONTEND

noninteractive

FIREFLY_III_PATH

/var/www/html

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

IMPORTER

data

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.0.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

1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

PHP_URL

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

PHP_VERSION

8.3.0

VERSION

v1.4.0


Layers

[#000] sha256:b7f91549542cca4b35a34cdee5364339f17468971ea730bb072864d3e78c8b94 - 15.41% (30 MB)

[#001] sha256:c1f99aacfb91daa3b220a123f6843a338ed488c11aa445a7ee749a1058f2c62d - 0.06% (112 KB)

[#002] sha256:a3c273cabf2960bc079d36fc1e8a6102ff657100b92986faa7fa80ade6441fdb - 0.0% (225 Bytes)

[#003] sha256:44700c0e234b807336d19f7820118fd981a7057bc5f1f369d9308e456b17a87b - 47.57% (92.5 MB)

[#004] sha256:a5195f3342172fc4c052f32e1ea4c54f2a723094218dc8e4760fd8bfa202a884 - 0.0% (228 Bytes)

[#005] sha256:146be4796916a922087ad716afe88444dbe56ad5f2f750e76a70b81a25081eda - 9.34% (18.2 MB)

[#006] sha256:5cee6bd4366cea118422ddd6b8f4669ed058bac9a83c8adeb099fd0b6b9f134c - 0.0% (431 Bytes)

[#007] sha256:c58e10f0595a78719bf21fd1b866f25e7e2639bb3e5dcd25bc9e9141de9ef03c - 0.0% (486 Bytes)

[#008] sha256:1c8e90f9bd0a83a3fcb347c999e95c514371ede0f924adda5846fddec61ec709 - 6.16% (12 MB)

[#009] sha256:c54370b0a84097d8cd1d53e5e089921a9a29c70c4ad426c34601cfa57398537a - 0.0% (491 Bytes)

[#010] sha256:5473293d14358f2250ffd03e6521d34d3178faa0aa547920b685e6860de8c7e4 - 5.7% (11.1 MB)

[#011] sha256:dd61e0c52d49ff7cccfd561ca97bdf40e8004ff1a1a42e235ff5a422d1e2685a - 0.0% (2.4 KB)

[#012] sha256:553b23da7fe96a924075e87ba8bdbb633a9993794a457176a13b2a63251c986a - 0.0% (246 Bytes)

[#013] sha256:1c33182ce31c7dfa48fe8c98079d70a61aae0845dab30403d7f7853c39be24a6 - 0.0% (893 Bytes)

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

[#015] sha256:728e7857d0db57ed6f31ad230394754c27e73e00a7d0f549a489a5d8b8616f08 - 0.0% (313 Bytes)

[#016] sha256:ae644594332269fc52e1f3513ccdc336ae5af009b2f33e6267a05fec55dd315e - 0.0% (312 Bytes)

[#017] sha256:8b91a0a52395f0bc7ae30c5bdec065d69a99556149c8d396383029db4710d343 - 0.0% (1013 Bytes)

[#018] sha256:9be0b620b3f78b36230f0149c0d417ce60b223a8130a6a7dbd361e41257ac32b - 0.0% (1.62 KB)

[#019] sha256:38b3a94a70892590edd0dc9a3ae5cecf99a38d4b85352d4fd164edbf800e171f - 0.0% (426 Bytes)

[#020] sha256:e153551688a3dcc4b84f851fa01acd97d8932a4422bd37f651f6ab8ddf6c5f87 - 0.0% (227 Bytes)

[#021] sha256:8602a3740620f466f50b3370fee4e1d30c8bdbcde4ea31d40a8f961b4376c667 - 0.01% (29.8 KB)

[#022] sha256:6bc793924df7546ff6b04e8698798d6fce35ba4b15c4e0999caf2612cddf9b68 - 6.76% (13.1 MB)

[#023] sha256:1afc1ff5d582133b662b97f0c837b73409c7db2c6a85f90d6fa6ecf49b34d982 - 0.57% (1.11 MB)

[#024] sha256:09a022969307f63391f82d598dbd001f85a4c87626b25c955cb0cc19d8d2604c - 0.36% (717 KB)

[#025] sha256:7ef180f50c551cf33f320ca33f136864ac45acaecc71a3e9548a03e1663288d1 - 0.0% (1.37 KB)

[#026] sha256:09b4f10ef522eed9dfa5be040352c37852c6660676cf9d1b96f3a660d1eb1d43 - 0.0% (172 Bytes)

[#027] sha256:6bba7762219588bf248e646e70359615d4be7b204c345ff948e604726daac993 - 0.0% (194 Bytes)

[#028] sha256:469edc5b3b5e7f64e988b6525cd44e274cc29c20245b805288d19e38534c482c - 8.06% (15.7 MB)


History
2023-11-21 05:21:58 UTC

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

2023-11-21 05:21:58 UTC

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

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

ENV FIREFLY_III_PATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

ENV BASE_IMAGE_BUILD=67 BASE_IMAGE_DATE=03-12-2023 21:04:27 CET

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

LABEL build_version=4.3 maintainer=james@firefly-iii.org

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

COPY ../conf/cacert.pem /etc/ssl/certs/cacert.pem # buildkit

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -H \"User-Agent: Firefly III Health Checker/2.2\" -f http://localhost:8080/health || exit 1"] "1m0s" "3s" "45s" "0s" '\x00'}

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2023-12-03 20:05:17 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:05:51 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl locales unzip xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-03 20:05:51 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-03 20:05:51 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

2023-12-03 20:05:51 UTC (buildkit.dockerfile.v0)

ENV APACHE_CONFDIR=/etc/apache2

2023-12-03 20:05:51 UTC (buildkit.dockerfile.v0)

ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork # buildkit

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.0

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:06:06 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

2023-12-03 20:06:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; 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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2023-12-03 20:06:17 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGWINCH

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY apache2-foreground /usr/local/bin/ # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html/storage/upload]

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../conf/locale.gen /etc/locale.gen # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-ports.conf /etc/apache2/ports.conf # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-site.conf /etc/apache2/sites-available/000-default.conf # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../scripts/wait-for-it.sh /usr/local/bin/wait-for-it.sh # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../scripts/finalize-image.sh /usr/local/bin/finalize-image.sh # buildkit

2023-12-03 20:15:10 UTC (buildkit.dockerfile.v0)

COPY ../scripts/artisan.sh /usr/local/bin/artisan # buildkit

2023-12-03 20:15:11 UTC (buildkit.dockerfile.v0)

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ # buildkit

2023-12-03 20:16:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; /usr/sbin/locale-gen && chmod uga+x /usr/local/bin/finalize-image.sh && chmod uga+x /usr/local/bin/wait-for-it.sh && chmod uga+x /usr/local/bin/artisan && chmod uga+x /usr/local/bin/install-php-extensions && apt install -y curl # buildkit

2023-12-03 20:17:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux;install-php-extensions intl bcmath pdo_pgsql pdo_mysql opcache memcached # buildkit

2023-12-03 20:17:57 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; a2enmod rewrite env headers && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && sed -i 's/max_execution_time = 30/max_execution_time = 600/' /usr/local/etc/php/php.ini && sed -i 's/memory_limit = 128M/memory_limit = 1G/' /usr/local/etc/php/php.ini && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 64M/' /usr/local/etc/php/php.ini && sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini && sed -i 's/post_max_size = 8M/post_max_size = 64M/' /usr/local/etc/php/php.ini && echo 'ServerTokens Prod' >> /etc/apache2/apache2.conf && echo 'ServerSignature Off' >> /etc/apache2/apache2.conf # buildkit

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ARG version

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ARG importer

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ENV VERSION=v1.4.0

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ENV IMPORTER=data

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

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

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

COPY counter.txt /var/www/counter-main.txt # buildkit

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

COPY date.txt /var/www/build-date-main.txt # buildkit

2023-12-17 15:58:14 UTC (buildkit.dockerfile.v0)

RUN |2 version=v1.4.0 importer=data /bin/sh -c curl -SL https://github.com/firefly-iii/$IMPORTER-importer/archive/$VERSION.tar.gz | tar xzC $FIREFLY_III_PATH --strip-components 1 && chmod -R 775 $FIREFLY_III_PATH/storage && composer install --prefer-dist --no-dev --no-scripts && /usr/local/bin/finalize-image.sh # buildkit

2023-12-17 15:58:14 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-12-17 15:59:22 UTC

Size

165 MB

Content Digest
Labels
  • build_version
    4.3
  • maintainer
    james@firefly-iii.org

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

BASE_IMAGE_BUILD

67

BASE_IMAGE_DATE

03-12-2023 21:04:27 CET

COMPOSER_ALLOW_SUPERUSER

1

DEBIAN_FRONTEND

noninteractive

FIREFLY_III_PATH

/var/www/html

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

IMPORTER

data

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.0.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

1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

PHP_URL

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

PHP_VERSION

8.3.0

VERSION

v1.4.0


Layers

[#000] sha256:6dc4ed5513793308b8e30b08e03f97fa54025c3d3f3172c6edccb1dbbc7ff139 - 15.32% (25.3 MB)

[#001] sha256:a4ef12a914c4fe5c28b2e53921e97f5cc2ec069ee52af8ccdff31379cedc50f0 - 0.07% (112 KB)

[#002] sha256:94e4cfd930dccff973366be36b70ce5aa69f52f5c9466b776e5b7ac935980285 - 0.0% (229 Bytes)

[#003] sha256:097cc29ded7ef429641e9a6d400605bc325bbe931e44d0223fab02deab5411bf - 43.03% (71.2 MB)

[#004] sha256:5ca9d1dd45de500023a2974f32677024ba776a3fa5312b334c8ca5222569ebd6 - 0.0% (227 Bytes)

[#005] sha256:d4d785e0ef1d4c79043f1afca21e584e563ce326b9201502a5faab6449ef4b47 - 10.26% (17 MB)

[#006] sha256:ecedbd23086851de8328815990140ec7422b53ae462831d5a132e0d60bebdaa1 - 0.0% (443 Bytes)

[#007] sha256:fac158acd8ea1d54c84c143f15f2201a154f69ce8065b70940893f1ba0b70866 - 0.0% (490 Bytes)

[#008] sha256:2c001a084922da5f80b0de9b4376e13fc2450220a23e50a0b7bfa6afa2cabfeb - 7.24% (12 MB)

[#009] sha256:af5c3ca2d13b04087bef28852325eafe16bd307b055c9ef7a17e0b97afe9e09c - 0.0% (490 Bytes)

[#010] sha256:7a38469dfbe25186f91044687b6a51836bb9bb4793a81df00cb4abf86d6bee96 - 5.8% (9.6 MB)

[#011] sha256:82cf5e6778708aba6147951a41eb1ff37928d81b41b52c9b857a82b436ea3409 - 0.0% (2.4 KB)

[#012] sha256:9a3ea3f92ef9b6491b3b1e79a6911adc0baa30232f08bf8a7a2f68499cc17bfb - 0.0% (249 Bytes)

[#013] sha256:d9a998c8df208c1bafc736ae75bdf45f81f13a751b4a63fb4f0d42a147fe58f0 - 0.0% (895 Bytes)

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

[#015] sha256:aa84b69534b5cf8f1fc75f5ae01ab89841c41f4d3aea86c7c0952b382f908f84 - 0.0% (313 Bytes)

[#016] sha256:6d98a87ed63285e212197b8047f18cb6632b27ab025f427e1881b1797dc188a8 - 0.0% (312 Bytes)

[#017] sha256:d3ad89d9cc4b837f7abaa7e942c9eee7548cd7e5e32a4220b52eeb002042f639 - 0.0% (1014 Bytes)

[#018] sha256:0a8285b5e2b91dba35c0a09b4ee49ac4a434c939aeda5b54af85959b199a4efd - 0.0% (1.62 KB)

[#019] sha256:5fc19d25a28723b5eb30b2dc18de694fda66f07b9fd9dbb651c9fa7d07c15c2e - 0.0% (428 Bytes)

[#020] sha256:fc5368f9f1bee18220cec5e099d55c073e44cd6da1391aa6702bcf04f68dc173 - 0.0% (227 Bytes)

[#021] sha256:dab035cf6acdab4f5a8f193ca0a85ac5d0e4c43fdf5f5e8a1629e96b2c753bd5 - 0.02% (29.8 KB)

[#022] sha256:a26a5a16cb0b906f8667c71caf8ddcd1d047851403eeaf00be5c745eb4e2df19 - 7.94% (13.1 MB)

[#023] sha256:e54e376fdff2ed7d669dc72d00514b9af221aa33389abff8a36d394d9e1f5a40 - 0.42% (708 KB)

[#024] sha256:d985c733d5d09e277542092ddb2fc0654a4964dd792b83a343a70e7f77eb3bf2 - 0.42% (717 KB)

[#025] sha256:e2661698a147bdc9e7a151bd53f2def3f99f3e80fc28073beb759ba7d78e6d9d - 0.0% (1.38 KB)

[#026] sha256:2cfa53250b018788165a54e2e2bf86e8b0c0c5cbffa2b54376698d8e52be737f - 0.0% (171 Bytes)

[#027] sha256:c471a6722f810d9d8300669c01364c5f5224679878d05ceab6ac53cd53ace9a1 - 0.0% (194 Bytes)

[#028] sha256:32b9f1150efc0a9c9accb6a1d0c0fd09726ad572b6024cf72dab619d3e2c303d - 9.47% (15.7 MB)


History
2023-11-21 03:58:04 UTC

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

2023-11-21 03:58:04 UTC

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

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV FIREFLY_III_PATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV BASE_IMAGE_BUILD=67 BASE_IMAGE_DATE=03-12-2023 21:04:27 CET

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

LABEL build_version=4.3 maintainer=james@firefly-iii.org

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

COPY ../conf/cacert.pem /etc/ssl/certs/cacert.pem # buildkit

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -H \"User-Agent: Firefly III Health Checker/2.2\" -f http://localhost:8080/health || exit 1"] "1m0s" "3s" "45s" "0s" '\x00'}

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:08:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl locales unzip xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-03 20:08:47 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-03 20:08:47 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

2023-12-03 20:08:47 UTC (buildkit.dockerfile.v0)

ENV APACHE_CONFDIR=/etc/apache2

2023-12-03 20:08:47 UTC (buildkit.dockerfile.v0)

ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-03 20:10:20 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit

2023-12-03 20:10:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork # buildkit

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.0

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:24 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

2023-12-03 20:11:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; 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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2023-12-03 20:11:49 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:40 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2023-12-03 21:44:40 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:40 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:40 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2023-12-03 21:44:40 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGWINCH

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY apache2-foreground /usr/local/bin/ # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html/storage/upload]

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../conf/locale.gen /etc/locale.gen # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-ports.conf /etc/apache2/ports.conf # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-site.conf /etc/apache2/sites-available/000-default.conf # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../scripts/wait-for-it.sh /usr/local/bin/wait-for-it.sh # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../scripts/finalize-image.sh /usr/local/bin/finalize-image.sh # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

COPY ../scripts/artisan.sh /usr/local/bin/artisan # buildkit

2023-12-03 21:44:41 UTC (buildkit.dockerfile.v0)

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ # buildkit

2023-12-03 21:48:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; /usr/sbin/locale-gen && chmod uga+x /usr/local/bin/finalize-image.sh && chmod uga+x /usr/local/bin/wait-for-it.sh && chmod uga+x /usr/local/bin/artisan && chmod uga+x /usr/local/bin/install-php-extensions && apt install -y curl # buildkit

2023-12-03 22:01:36 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux;install-php-extensions intl bcmath pdo_pgsql pdo_mysql opcache memcached # buildkit

2023-12-03 22:01:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; a2enmod rewrite env headers && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && sed -i 's/max_execution_time = 30/max_execution_time = 600/' /usr/local/etc/php/php.ini && sed -i 's/memory_limit = 128M/memory_limit = 1G/' /usr/local/etc/php/php.ini && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 64M/' /usr/local/etc/php/php.ini && sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini && sed -i 's/post_max_size = 8M/post_max_size = 64M/' /usr/local/etc/php/php.ini && echo 'ServerTokens Prod' >> /etc/apache2/apache2.conf && echo 'ServerSignature Off' >> /etc/apache2/apache2.conf # buildkit

2023-12-17 15:57:57 UTC (buildkit.dockerfile.v0)

ARG version

2023-12-17 15:57:57 UTC (buildkit.dockerfile.v0)

ARG importer

2023-12-17 15:57:57 UTC (buildkit.dockerfile.v0)

ENV VERSION=v1.4.0

2023-12-17 15:57:57 UTC (buildkit.dockerfile.v0)

ENV IMPORTER=data

2023-12-17 15:57:57 UTC (buildkit.dockerfile.v0)

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

2023-12-17 15:57:58 UTC (buildkit.dockerfile.v0)

COPY counter.txt /var/www/counter-main.txt # buildkit

2023-12-17 15:57:58 UTC (buildkit.dockerfile.v0)

COPY date.txt /var/www/build-date-main.txt # buildkit

2023-12-17 15:59:22 UTC (buildkit.dockerfile.v0)

RUN |2 version=v1.4.0 importer=data /bin/sh -c curl -SL https://github.com/firefly-iii/$IMPORTER-importer/archive/$VERSION.tar.gz | tar xzC $FIREFLY_III_PATH --strip-components 1 && chmod -R 775 $FIREFLY_III_PATH/storage && composer install --prefer-dist --no-dev --no-scripts && /usr/local/bin/finalize-image.sh # buildkit

2023-12-17 15:59:22 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-12-17 15:59:24 UTC

Size

165 MB

Content Digest
Labels
  • build_version
    4.3
  • maintainer
    james@firefly-iii.org

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

BASE_IMAGE_BUILD

67

BASE_IMAGE_DATE

03-12-2023 21:04:27 CET

COMPOSER_ALLOW_SUPERUSER

1

DEBIAN_FRONTEND

noninteractive

FIREFLY_III_PATH

/var/www/html

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

IMPORTER

data

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.0.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

1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

PHP_URL

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

PHP_VERSION

8.3.0

VERSION

v1.4.0


Layers

[#000] sha256:6dc4ed5513793308b8e30b08e03f97fa54025c3d3f3172c6edccb1dbbc7ff139 - 15.32% (25.3 MB)

[#001] sha256:a4ef12a914c4fe5c28b2e53921e97f5cc2ec069ee52af8ccdff31379cedc50f0 - 0.07% (112 KB)

[#002] sha256:94e4cfd930dccff973366be36b70ce5aa69f52f5c9466b776e5b7ac935980285 - 0.0% (229 Bytes)

[#003] sha256:be1185815a65580870a942e38099dcaabe8d8ca4cf860763984641c5b9bc3359 - 43.03% (71.2 MB)

[#004] sha256:dde1cef9d37718e1d9c77b1f82b68c53b9101c38ab256e5b74ec2286f1b62506 - 0.0% (230 Bytes)

[#005] sha256:a63f3d2929c1bb52ca8da5cae399443f9ff06b3c3955d80ed4ca28438ba15923 - 10.26% (17 MB)

[#006] sha256:eba99c7de3ecc476078c6b79744f6b44e3234b94245621a5e862890cf4e9a75b - 0.0% (446 Bytes)

[#007] sha256:578eef3df30bccd172e1e72cc071759e311783a25ff3f69382cb1ee15e7282b4 - 0.0% (494 Bytes)

[#008] sha256:fc5dd10d4d2cf5fa59e8f9127aa6b20b92adbf124f5925f8a093edb08fa41a63 - 7.24% (12 MB)

[#009] sha256:65deff833a04aa5184bf0d3d6793b446ea06b40394914c4cf3c3affeb5ced08a - 0.0% (491 Bytes)

[#010] sha256:69877195d1de23150de1853674bdd10c67b4a7f9cabfcef73b1a230e7ea17cca - 5.8% (9.6 MB)

[#011] sha256:31934099c11238100877148cb8038772b894f2d3ccc1bd56a4567abf018c3ba3 - 0.0% (2.4 KB)

[#012] sha256:73027b2f418ff30f8afbf4eca5b0e32b0c38922b66a27cbc774c990ba10ba384 - 0.0% (250 Bytes)

[#013] sha256:d7ae8f3c9d1a64e16726c135f84a99958a10c41fee9bdc045374ae27395b53ff - 0.0% (895 Bytes)

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

[#015] sha256:1799814bf5075f3c2a70388638a8f3b7a556a2700f266bdacc0d1ddc7c6aca39 - 0.0% (315 Bytes)

[#016] sha256:57d283e25ed5df51841c491e54c2da0f0bc63f8090772a3e8cb455d026ef4650 - 0.0% (311 Bytes)

[#017] sha256:da77b878ed5685117c68aa1e63048854278330347c41a7b45d37ca5ea7b4baec - 0.0% (1014 Bytes)

[#018] sha256:6496470475cf8805a8db5d839d221ca30d382162a8d61a108c17036562517e6b - 0.0% (1.62 KB)

[#019] sha256:79dcc7b55531f37fc3e99b557be2c470030ca4dfc36145404daa68073d058160 - 0.0% (428 Bytes)

[#020] sha256:d85299cd46d81e027c5e1e8a8c69c930d48f3c7a1c3e3448a4ced67429c9b869 - 0.0% (227 Bytes)

[#021] sha256:05a9f110011ae7bff2a56bbed90e190316a09ce97da40a39ce420cc758e42af8 - 0.02% (29.8 KB)

[#022] sha256:5105f37d7058ae16a8f4a54ee544bae8942dd4cbcfb5ae73ecb73a4cb4e4532e - 7.94% (13.1 MB)

[#023] sha256:a25090480b9720ebcf77d8465abeb2afd3b592ab7b373aee19774e0e1552e851 - 0.42% (708 KB)

[#024] sha256:df3dda749363857287d8ecb292d9835179b913dc302e4c93831c2c9c934ba9f4 - 0.42% (717 KB)

[#025] sha256:45b06abaac205cebafdbeb0de2afe6af39c6c7dd1c8447c9280c08f1c6c1ba4c - 0.0% (1.38 KB)

[#026] sha256:10d45e7b0c0c72f94087f74837c229779f95fe17ea99c28d73e320de00ef1037 - 0.0% (171 Bytes)

[#027] sha256:a2058bfce8cadbe508b8066118503e3e8e43a72a852c444c8f1fba3ddfbf3a58 - 0.0% (193 Bytes)

[#028] sha256:7b8d2a4c1a75ac910a160eb7c0bab62c3d4d0a5036955c93ef8afcf04bcdf563 - 9.47% (15.7 MB)


History
2023-11-21 03:58:04 UTC

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

2023-11-21 03:58:04 UTC

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

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV FIREFLY_III_PATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

ENV BASE_IMAGE_BUILD=67 BASE_IMAGE_DATE=03-12-2023 21:04:27 CET

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

LABEL build_version=4.3 maintainer=james@firefly-iii.org

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

COPY ../conf/cacert.pem /etc/ssl/certs/cacert.pem # buildkit

2023-12-03 20:05:18 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -H \"User-Agent: Firefly III Health Checker/2.2\" -f http://localhost:8080/health || exit 1"] "1m0s" "3s" "45s" "0s" '\x00'}

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:08:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl locales unzip xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-03 20:08:55 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-03 20:08:56 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

2023-12-03 20:08:56 UTC (buildkit.dockerfile.v0)

ENV APACHE_CONFDIR=/etc/apache2

2023-12-03 20:08:56 UTC (buildkit.dockerfile.v0)

ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-03 20:10:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit

2023-12-03 20:10:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork # buildkit

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.0

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:34 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

2023-12-03 20:11:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; 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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2023-12-03 20:11:59 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGWINCH

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

COPY apache2-foreground /usr/local/bin/ # buildkit

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html/storage/upload]

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

COPY ../conf/locale.gen /etc/locale.gen # buildkit

2023-12-03 21:44:48 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-ports.conf /etc/apache2/ports.conf # buildkit

2023-12-03 21:44:49 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-site.conf /etc/apache2/sites-available/000-default.conf # buildkit

2023-12-03 21:44:49 UTC (buildkit.dockerfile.v0)

COPY ../scripts/wait-for-it.sh /usr/local/bin/wait-for-it.sh # buildkit

2023-12-03 21:44:49 UTC (buildkit.dockerfile.v0)

COPY ../scripts/finalize-image.sh /usr/local/bin/finalize-image.sh # buildkit

2023-12-03 21:44:49 UTC (buildkit.dockerfile.v0)

COPY ../scripts/artisan.sh /usr/local/bin/artisan # buildkit

2023-12-03 21:44:49 UTC (buildkit.dockerfile.v0)

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ # buildkit

2023-12-03 21:48:35 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; /usr/sbin/locale-gen && chmod uga+x /usr/local/bin/finalize-image.sh && chmod uga+x /usr/local/bin/wait-for-it.sh && chmod uga+x /usr/local/bin/artisan && chmod uga+x /usr/local/bin/install-php-extensions && apt install -y curl # buildkit

2023-12-03 22:01:47 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux;install-php-extensions intl bcmath pdo_pgsql pdo_mysql opcache memcached # buildkit

2023-12-03 22:01:49 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; a2enmod rewrite env headers && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && sed -i 's/max_execution_time = 30/max_execution_time = 600/' /usr/local/etc/php/php.ini && sed -i 's/memory_limit = 128M/memory_limit = 1G/' /usr/local/etc/php/php.ini && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 64M/' /usr/local/etc/php/php.ini && sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini && sed -i 's/post_max_size = 8M/post_max_size = 64M/' /usr/local/etc/php/php.ini && echo 'ServerTokens Prod' >> /etc/apache2/apache2.conf && echo 'ServerSignature Off' >> /etc/apache2/apache2.conf # buildkit

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ARG version

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ARG importer

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ENV VERSION=v1.4.0

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

ENV IMPORTER=data

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

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

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

COPY counter.txt /var/www/counter-main.txt # buildkit

2023-12-17 15:58:01 UTC (buildkit.dockerfile.v0)

COPY date.txt /var/www/build-date-main.txt # buildkit

2023-12-17 15:59:24 UTC (buildkit.dockerfile.v0)

RUN |2 version=v1.4.0 importer=data /bin/sh -c curl -SL https://github.com/firefly-iii/$IMPORTER-importer/archive/$VERSION.tar.gz | tar xzC $FIREFLY_III_PATH --strip-components 1 && chmod -R 775 $FIREFLY_III_PATH/storage && composer install --prefer-dist --no-dev --no-scripts && /usr/local/bin/finalize-image.sh # buildkit

2023-12-17 15:59:24 UTC (buildkit.dockerfile.v0)

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

Details
Created

2023-12-17 15:59:22 UTC

Size

189 MB

Content Digest
Labels
  • build_version
    4.3
  • maintainer
    james@firefly-iii.org

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

BASE_IMAGE_BUILD

67

BASE_IMAGE_DATE

03-12-2023 21:04:27 CET

COMPOSER_ALLOW_SUPERUSER

1

DEBIAN_FRONTEND

noninteractive

FIREFLY_III_PATH

/var/www/html

GPG_KEYS

1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

IMPORTER

data

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c

PHP_ASC_URL

https://www.php.net/distributions/php-8.3.0.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

1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

PHP_URL

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

PHP_VERSION

8.3.0

VERSION

v1.4.0


Layers

[#000] sha256:ca426296fe928600d0b4b844aee43e2b70a05c6f4032de5f65dcc49f5cedfd82 - 15.17% (28.7 MB)

[#001] sha256:e411452583c405154caa4d9eb810b81cc7fa24c632926980518dfe0f17068bc0 - 0.06% (112 KB)

[#002] sha256:9e8eefbd9b330937f9df4710d8168694ca95917b11c52bc8411b1aee2b0a037f - 0.0% (227 Bytes)

[#003] sha256:b0dc980dc1c6a3e4fd3f7cdb3f2842651683a41b6eb63910a4cd0210407373d4 - 46.58% (88 MB)

[#004] sha256:632ad1c126f2e5d37a2ec479d950300cdc866372abf1031655b0736b265c8b20 - 0.0% (223 Bytes)

[#005] sha256:37dfd20c70f8b8b68249b472c09429d32bcbdd6dbd42c284eb6873f843e6cf07 - 9.57% (18.1 MB)

[#006] sha256:b97878802d6784dff6c75dc26e26381d0f67d9cc16b0ca93960a3fdcb1ac4036 - 0.0% (452 Bytes)

[#007] sha256:57cf36008c908c7050708350cce878a98cc3f7941fc1f00985adf6acba094f24 - 0.0% (492 Bytes)

[#008] sha256:edf6f37e30d68c1ae843e5a3f86d293314028dfb6b5deafede3f0397f38a799a - 6.34% (12 MB)

[#009] sha256:3806684a196c1fafec12ca6ba3ce380be0da321ccbe5874e2e19cf819285417b - 0.0% (492 Bytes)

[#010] sha256:29e6826cee55923c1096b94d00ddacc2bc1cc23c1bda01dacea1661a91c9c3be - 5.91% (11.2 MB)

[#011] sha256:8b931a5fafa10ff4fb6f6a936ec5d7713170165c1ba29dbeab232f752dfcb575 - 0.0% (2.4 KB)

[#012] sha256:3e2c80445385131d10d39d3e28f6911ba7432e89862e41501916b368fab4d50d - 0.0% (247 Bytes)

[#013] sha256:d699d27524429d22e2bcf595fadddaa1b060afe9ba989f0b1331caa9caf8658b - 0.0% (893 Bytes)

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

[#015] sha256:9fb08b5ca902113ee3f13f49385914d214d888b0a000de2526d5f210f50e6e9d - 0.0% (315 Bytes)

[#016] sha256:e1105d2729fb17aa3419f486ec27104fd300d271ca3b9039291a37a25a8b3369 - 0.0% (310 Bytes)

[#017] sha256:fca7c7aad9a73305fbbd06751378c44823dd4be81b4b6e813c83bcac058246ea - 0.0% (1013 Bytes)

[#018] sha256:5ea83f95db773c6657fbb279351ff306b8d110f20572d52fa4c6a93bf9a1332c - 0.0% (1.62 KB)

[#019] sha256:30bd95658a0c5023858b85dc3f80639d23324f4533d14b5356d1af253aa2f299 - 0.0% (427 Bytes)

[#020] sha256:bc887b020e71fc638ceae7cac25ba34de1c1c3a26f4b8cc06b6fcfc9d95daa5b - 0.0% (227 Bytes)

[#021] sha256:7d10c8190cc6a918ff76d3da8e3593cd3851cef812e0f4a5d6f7cbd920891ab9 - 0.02% (29.8 KB)

[#022] sha256:e682a5716bbc94f53abb1928bd18aaccfaa2357a71e02731a315eb482fe13fd4 - 6.96% (13.1 MB)

[#023] sha256:5b8cacfa168becca002e3912316fab39ed8aa4a0c98d2d6e8e61280dd7d58762 - 0.74% (1.39 MB)

[#024] sha256:a089ccc1a7e791cc9829b025f891c8c198f9275e7b7197bea31b05dd1685188c - 0.37% (717 KB)

[#025] sha256:72bc4d06c5e5fb2988f3ab6425f0c6a95f79ed37929bce8604ad63fc3327b820 - 0.0% (1.38 KB)

[#026] sha256:932991353184cb513bdaa0a08d9271dcb8630c6ba9cb29239172246670bcb5e5 - 0.0% (173 Bytes)

[#027] sha256:9b0b081af65aa297bbc1d812392e87238231057a84861c2bd21b72b04b55a6a8 - 0.0% (194 Bytes)

[#028] sha256:c93e4081c45acc956a2085143b5c63b56020bc7a1e79fccc52b40cf2ad779dcb - 8.29% (15.7 MB)


History
2023-11-21 06:27:20 UTC

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

2023-11-21 06:27:21 UTC

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

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

ENV FIREFLY_III_PATH=/var/www/html COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

ENV BASE_IMAGE_BUILD=67 BASE_IMAGE_DATE=03-12-2023 21:04:27 CET

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

LABEL build_version=4.3 maintainer=james@firefly-iii.org

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

COPY ../conf/cacert.pem /etc/ssl/certs/cacert.pem # buildkit

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -H \"User-Agent: Firefly III Health Checker/2.2\" -f http://localhost:8080/health || exit 1"] "1m0s" "3s" "45s" "0s" '\x00'}

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit

2023-12-03 20:05:19 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:09:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl locales unzip xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit

2023-12-03 20:09:03 UTC (buildkit.dockerfile.v0)

ENV PHP_INI_DIR=/usr/local/etc/php

2023-12-03 20:09:04 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

2023-12-03 20:09:04 UTC (buildkit.dockerfile.v0)

ENV APACHE_CONFDIR=/etc/apache2

2023-12-03 20:09:04 UTC (buildkit.dockerfile.v0)

ENV APACHE_ENVVARS=/etc/apache2/envvars

2023-12-03 20:10:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 1777 "$dir"; done; rm -rvf /var/www/html/*; ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log"; ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR" # buildkit

2023-12-03 20:10:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork # buildkit

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php # buildkit

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

ENV PHP_LDFLAGS=-Wl,-O1 -pie

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

ENV PHP_VERSION=8.3.0

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

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

2023-12-03 20:10:42 UTC (buildkit.dockerfile.v0)

ENV PHP_SHA256=1db84fec57125aa93638b51bb2b15103e12ac196e2f960f0d124275b2687ea54

2023-12-03 20:12:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg; rm -rf /var/lib/apt/lists/*; 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; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit

2023-12-03 20:12:06 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)"; debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi; ./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 --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" --disable-cgi --with-apxs2 ; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

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

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-php-entrypoint"]

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGWINCH

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY apache2-foreground /usr/local/bin/ # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www/html

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{}]

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html/storage/upload]

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../conf/locale.gen /etc/locale.gen # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-ports.conf /etc/apache2/ports.conf # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../apache/apache2-site.conf /etc/apache2/sites-available/000-default.conf # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../scripts/wait-for-it.sh /usr/local/bin/wait-for-it.sh # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../scripts/finalize-image.sh /usr/local/bin/finalize-image.sh # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

COPY ../scripts/artisan.sh /usr/local/bin/artisan # buildkit

2023-12-03 21:58:17 UTC (buildkit.dockerfile.v0)

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ # buildkit

2023-12-03 22:02:03 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; /usr/sbin/locale-gen && chmod uga+x /usr/local/bin/finalize-image.sh && chmod uga+x /usr/local/bin/wait-for-it.sh && chmod uga+x /usr/local/bin/artisan && chmod uga+x /usr/local/bin/install-php-extensions && apt install -y curl # buildkit

2023-12-03 22:17:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux;install-php-extensions intl bcmath pdo_pgsql pdo_mysql opcache memcached # buildkit

2023-12-03 22:17:11 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; a2enmod rewrite env headers && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini && sed -i 's/max_execution_time = 30/max_execution_time = 600/' /usr/local/etc/php/php.ini && sed -i 's/memory_limit = 128M/memory_limit = 1G/' /usr/local/etc/php/php.ini && sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 64M/' /usr/local/etc/php/php.ini && sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini && sed -i 's/post_max_size = 8M/post_max_size = 64M/' /usr/local/etc/php/php.ini && echo 'ServerTokens Prod' >> /etc/apache2/apache2.conf && echo 'ServerSignature Off' >> /etc/apache2/apache2.conf # buildkit

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ARG version

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ARG importer

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ENV VERSION=v1.4.0

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

ENV IMPORTER=data

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

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

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

COPY counter.txt /var/www/counter-main.txt # buildkit

2023-12-17 15:58:03 UTC (buildkit.dockerfile.v0)

COPY date.txt /var/www/build-date-main.txt # buildkit

2023-12-17 15:59:22 UTC (buildkit.dockerfile.v0)

RUN |2 version=v1.4.0 importer=data /bin/sh -c curl -SL https://github.com/firefly-iii/$IMPORTER-importer/archive/$VERSION.tar.gz | tar xzC $FIREFLY_III_PATH --strip-components 1 && chmod -R 775 $FIREFLY_III_PATH/storage && composer install --prefer-dist --no-dev --no-scripts && /usr/local/bin/finalize-image.sh # buildkit

2023-12-17 15:59:22 UTC (buildkit.dockerfile.v0)

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

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