-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
107fa03
commit 4396be0
Showing
13 changed files
with
3,536 additions
and
1,236 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,204 @@ | ||
## `backdrop:1.29-apache` | ||
|
||
**does not exist** (yet?) | ||
```console | ||
$ docker pull backdrop@sha256:bc411546d7ac695c60731fa8b23aee49d1be07bc1c3bbd8f8b46f50dd7b4915b | ||
``` | ||
|
||
- Manifest MIME: `application/vnd.oci.image.index.v1+json` | ||
- Platforms: 2 | ||
- linux; amd64 | ||
- unknown; unknown | ||
|
||
### `backdrop:1.29-apache` - linux; amd64 | ||
|
||
```console | ||
$ docker pull backdrop@sha256:e8db6ac16d4a36612469698d3d468a49b40bcdba2b6ac7d485b6e02ed89de1cc | ||
``` | ||
|
||
- Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` | ||
- Total Size: **192.3 MB (192309965 bytes)** | ||
(compressed transfer size, not on-disk size) | ||
- Image ID: `sha256:25dbdcfeef6013971a13ba084332a27b970e93d2e715fd716b8dd9843e22f7c6` | ||
- Entrypoint: `["\/entrypoint.sh"]` | ||
- Default Command: `["apache2-foreground"]` | ||
|
||
```dockerfile | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN # debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000' | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN set -eux; apt-get update; apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils ; rm -rf /var/lib/apt/lists/* # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_INI_DIR=/usr/local/etc/php | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN 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 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV APACHE_CONFDIR=/etc/apache2 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV APACHE_ENVVARS=/etc/apache2/envvars | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN 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" "$APACHE_RUN_DIR/socks" ; 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 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN a2dismod mpm_event && a2enmod mpm_prefork # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN { 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 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_LDFLAGS=-Wl,-O1 -pie | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV GPG_KEYS=1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_VERSION=8.3.15 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_URL=https://www.php.net/distributions/php-8.3.15.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.3.15.tar.xz.asc | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENV PHP_SHA256=3df5d45637283f759eef8fc3ce03de829ded3e200c3da278936a684955d2f94f | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN 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 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
COPY docker-php-source /usr/local/bin/ # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN 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" PHP_BUILD_PROVIDER='https://github.com/docker-library/php' PHP_UNAME='Linux - Docker' ; 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-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 --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); printf "*%s\n", 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 | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
RUN docker-php-ext-enable sodium # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
ENTRYPOINT ["docker-php-entrypoint"] | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
STOPSIGNAL SIGWINCH | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
COPY apache2-foreground /usr/local/bin/ # buildkit | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
WORKDIR /var/www/html | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
EXPOSE map[80/tcp:{}] | ||
# Thu, 19 Dec 2024 18:32:34 GMT | ||
CMD ["apache2-foreground"] | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
RUN a2enmod rewrite # buildkit | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
RUN apt-get update && apt-get install -y --no-install-recommends libzip-dev libonig-dev libpng-dev libjpeg-dev libpq-dev && rm -rf /var/lib/apt/lists/* && docker-php-ext-configure gd --with-jpeg=/usr && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip # buildkit | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
WORKDIR /var/www/html | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
ENV BACKDROP_VERSION=1.29.2 | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
ENV BACKDROP_MD5=dcb27feb72d78f1f14120d4c9a6bc70b | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
RUN curl -fSL "https://github.com/backdrop/backdrop/archive/refs/tags/${BACKDROP_VERSION}.tar.gz" -o backdrop.tar.gz && echo "${BACKDROP_MD5} *backdrop.tar.gz" | md5sum -c - && tar -xz --strip-components=1 -f backdrop.tar.gz && rm backdrop.tar.gz && chown -R www-data:www-data sites files # buildkit | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
COPY docker-entrypoint.sh /entrypoint.sh # buildkit | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
# Thu, 02 Jan 2025 20:55:20 GMT | ||
CMD ["apache2-foreground"] | ||
``` | ||
|
||
- Layers: | ||
- `sha256:fd674058ff8f8cfa7fb8a20c006fc0128541cbbad7f7f7f28df570d08f9e4d92` | ||
Last Modified: Tue, 24 Dec 2024 21:32:20 GMT | ||
Size: 28.2 MB (28231581 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:c4aa5c3d57f9c53708bec8c65315261e2ac1996c279afaaffa03703b402c5040` | ||
Last Modified: Tue, 24 Dec 2024 22:24:43 GMT | ||
Size: 229.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:9b1d5f1913860021d9e4939fe6fe06ac748d38ce0ce9cd1cdb4f6f6c1d9b59cf` | ||
Last Modified: Tue, 24 Dec 2024 22:24:45 GMT | ||
Size: 104.2 MB (104150917 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:9d722d2711757ac01b6f4dd63f6dc13e451ee64cae1f048b7a935623bd8d6bfd` | ||
Last Modified: Tue, 24 Dec 2024 22:24:43 GMT | ||
Size: 224.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:3607318548f8d527fe222622ae223167f4e2dfaf76ded3d2a261292523c77395` | ||
Last Modified: Tue, 24 Dec 2024 22:24:43 GMT | ||
Size: 20.1 MB (20123806 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:c6301dd3d2a055241777a76b7892c83f51fa77a1e8890428ece5095f0ab5c3a5` | ||
Last Modified: Tue, 24 Dec 2024 22:24:43 GMT | ||
Size: 431.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:c56df30ff8b4aa571144d39bb1ec300c57a4be6e462b0453245430ac142d16a0` | ||
Last Modified: Tue, 24 Dec 2024 22:24:43 GMT | ||
Size: 485.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:db430a74a92f936310388f978af7f942c66f00c52c09376e530c1e8875b37bc0` | ||
Last Modified: Tue, 24 Dec 2024 22:24:45 GMT | ||
Size: 12.7 MB (12653097 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:3b8874a713cbf5a147e74fcb290dae2568726df04e4be334ff48edf36508a913` | ||
Last Modified: Tue, 24 Dec 2024 22:24:06 GMT | ||
Size: 487.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:b4d8c4c440f2ff157c32993704921d4ed3271f0e1232fc945123569db85a5f6b` | ||
Last Modified: Tue, 24 Dec 2024 22:24:45 GMT | ||
Size: 11.7 MB (11652374 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:ffbb26e53fd3639e545bc99ecc0227f1a3e336a4fbb0101013796e28547346ab` | ||
Last Modified: Tue, 24 Dec 2024 22:24:45 GMT | ||
Size: 2.5 KB (2452 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:e391f7a6f4105dfe5ffb72540cfb4cabb850af1a9186c878f798d0e1b38a7ea0` | ||
Last Modified: Tue, 24 Dec 2024 22:24:46 GMT | ||
Size: 246.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:5e72d70e49bb823550c0b313e0f93e7da711c51faadf8765fe671b52cf19f22f` | ||
Last Modified: Tue, 24 Dec 2024 22:24:46 GMT | ||
Size: 889.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1` | ||
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT | ||
Size: 32.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:23de41ebb3c28bbcd67009cb473b90e80209f1cf3c295ac07c7c8b6c0f5d8295` | ||
Last Modified: Wed, 08 Jan 2025 23:32:24 GMT | ||
Size: 312.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:bd2282cb7ad81b0e6609a07826198c5e59e1c6ce8033bcde7e8c133c3161d8d8` | ||
Last Modified: Wed, 08 Jan 2025 23:32:24 GMT | ||
Size: 5.6 MB (5580041 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1` | ||
Last Modified: Tue, 07 Mar 2017 15:01:14 GMT | ||
Size: 32.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:be6747cbdd92af9522a5ba0d60132530558890115a7df0faa5564d29eb5be4d8` | ||
Last Modified: Wed, 08 Jan 2025 23:32:24 GMT | ||
Size: 9.9 MB (9911381 bytes) | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
- `sha256:fe8522ad2c3fbbea6a0a67465ea38c35910d6d9c4a493df92dded558bd22e2a9` | ||
Last Modified: Wed, 08 Jan 2025 23:32:24 GMT | ||
Size: 949.0 B | ||
MIME: application/vnd.oci.image.layer.v1.tar+gzip | ||
|
||
### `backdrop:1.29-apache` - unknown; unknown | ||
|
||
```console | ||
$ docker pull backdrop@sha256:17b60c3d6e4b6b8f8a5c291cd01789c72f75df13510fbd7e92f804a2ec58897a | ||
``` | ||
|
||
- Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` | ||
- Total Size: **7.0 MB (6969938 bytes)** | ||
(compressed transfer size, not on-disk size) | ||
- Image ID: `sha256:54a2819a78649a3f3616891611c23e2fa60241add4ac8479b4d3f661dd98f3d1` | ||
|
||
```dockerfile | ||
``` | ||
|
||
- Layers: | ||
- `sha256:383e66b7e4cf18ab43a41ae6eac95605cc04095aaff35494fac9331a41b7d303` | ||
Last Modified: Wed, 08 Jan 2025 23:32:24 GMT | ||
Size: 6.9 MB (6940255 bytes) | ||
MIME: application/vnd.in-toto+json | ||
- `sha256:b56e83b6386639db67b7824641918210fd780fcd0b7c6cfcbc0a40edb2e22468` | ||
Last Modified: Wed, 08 Jan 2025 23:32:23 GMT | ||
Size: 29.7 KB (29683 bytes) | ||
MIME: application/vnd.in-toto+json |
Oops, something went wrong.