7.4.0-debian-9-r0 release
This commit is contained in:
parent
f1ae6ee4d6
commit
e6855d9bcd
|
|
@ -0,0 +1,21 @@
|
|||
FROM bitnami/minideb:stretch
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates libbz2-1.0 libc6 libcomerr2 libcurl3 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmemcached11 libmemcachedutil2 libncurses5 libnettle6 libnghttp2-14 libp11-kit0 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libsqlite3-0 libsqlite3-dev libssh2-1 libssl-dev libssl1.0.2 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5 libtinfo5 libunistring0 libxml2 libxslt1.1 wget zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/php-7.4.0-0-linux-amd64-debian-9.tar.gz && \
|
||||
echo "1feb80a57bc63579c8119e8923a8012200fc03622bb3ff0389f4e9879167a4a4 /tmp/bitnami/pkg/cache/php-7.4.0-0-linux-amd64-debian-9.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/php-7.4.0-0-linux-amd64-debian-9.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/php-7.4.0-0-linux-amd64-debian-9.tar.gz
|
||||
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 BITNAMI_APP_NAME="php-fpm" \
|
||||
BITNAMI_IMAGE_VERSION="7.4.0-debian-9-r0" \
|
||||
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: 'bitnami/php-fpm:7.4'
|
||||
ports:
|
||||
- 9000:9000
|
||||
volumes:
|
||||
- .:/app
|
||||
Loading…
Reference in New Issue