7.4.29-debian-11-r0 release
This commit is contained in:
parent
877d785fb4
commit
064dae2e76
|
|
@ -0,0 +1,28 @@
|
|||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-11" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages argon2 ca-certificates curl gzip libargon2-0 libargon2-0-dev libbrotli1 libbsd0 libbz2-1.0 libc6 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi7 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu67 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmcrypt4 libmd0 libmemcached11 libnettle8 libnghttp2-14 libonig-dev libonig5 libp11-kit0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline8 librtmp1 libsasl2-2 libsodium23 libsqlite3-0 libsqlite3-dev libssh2-1 libssl-dev libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libwebp6 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 procps tar wget zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/php-7.4.29-2-linux-amd64-debian-11.tar.gz && \
|
||||
echo "22ef0a218356668b0472405430cc0215ad11044358e3536a53ea8fe693ce6921 /tmp/bitnami/pkg/cache/php-7.4.29-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/php-7.4.29-2-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/php-7.4.29-2-linux-amd64-debian-11.tar.gz
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \
|
||||
sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \
|
||||
sed -i 's/sha512/sha512 minlen=8/' /etc/pam.d/common-password
|
||||
|
||||
ENV APP_VERSION="7.4.29" \
|
||||
BITNAMI_APP_NAME="php-fpm" \
|
||||
PATH="/opt/bitnami/php/bin:/opt/bitnami/php/sbin:$PATH"
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
WORKDIR /app
|
||||
CMD [ "php-fpm", "-F", "--pid", "/opt/bitnami/php/tmp/php-fpm.pid", "-y", "/opt/bitnami/php/etc/php-fpm.conf" ]
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
php:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/php-fpm:7.4
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
- .:/app
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"php": {
|
||||
"arch": "amd64",
|
||||
"digest": "22ef0a218356668b0472405430cc0215ad11044358e3536a53ea8fe693ce6921",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "7.4.29-2"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Bitnami containers ship with software bundles. You can find the licenses under:
|
||||
/opt/bitnami/nami/COPYING
|
||||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
|
@ -37,7 +37,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
|||
|
||||
* [`8.1`, `8.1-debian-11`, `8.1.6`, `8.1.6-debian-11-r0`, `latest` (8.1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-php-fpm/blob/8.1.6-debian-11-r0/8.1/debian-11/Dockerfile)
|
||||
* [`8.0`, `8.0-debian-11`, `8.0.19`, `8.0.19-debian-11-r0` (8.0/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-php-fpm/blob/8.0.19-debian-11-r0/8.0/debian-11/Dockerfile)
|
||||
* [`7.4`, `7.4-debian-11`, `7.4.29`, `7.4.29-debian-11-r-1` (7.4/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-php-fpm/blob/7.4.29-debian-11-r-1/7.4/debian-11/Dockerfile)
|
||||
* [`7.4`, `7.4-debian-11`, `7.4.29`, `7.4.29-debian-11-r0` (7.4/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-php-fpm/blob/7.4.29-debian-11-r0/7.4/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/php-fpm GitHub repo](https://github.com/bitnami/bitnami-docker-php-fpm).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue