diff --git a/bitnami/prestashop/1.7/debian-10/Dockerfile b/bitnami/prestashop/1.7/debian-10/Dockerfile index c3eae0c156d7..575a0dd5c954 100644 --- a/bitnami/prestashop/1.7/debian-10/Dockerfile +++ b/bitnami/prestashop/1.7/debian-10/Dockerfile @@ -11,7 +11,7 @@ COPY prebuildfs / RUN install_packages acl ca-certificates curl gzip libaudit1 libbsd0 libbz2-1.0 libc6 libcap-ng0 libcom-err2 libcurl4 libexpat1 libffi6 libfftw3-double3 libfontconfig1 libfreetype6 libgcc1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu63 libidn2-0 libjemalloc2 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 libmemcached11 libmemcachedutil2 libncurses6 libnettle6 libnghttp2-14 libp11-kit0 libpam0g libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libsqlite3-0 libssh2-1 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 procps tar zlib1g RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "php" "7.2.34-5" --checksum 53fec70953f246c8f07972c4474dd4c5bc1c7803ecdfee66e9691f9b2c08a76e RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "apache" "2.4.46-3" --checksum 07991412bb24fc8493228f4bd67b28a77e011242971dcdd687a5d2113ac89bc9 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.2.34-0" --checksum f2d5aa7f15f9b7db734fcca281a638bb8ce68fd6b31cc3f8fc39ec292ab16a7f +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.2.35-0" --checksum 29bb3dc1daaa805905a7f450f00a446ec3ebf3090dff74045b4e47fcfe917942 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "libphp" "7.2.34-1" --checksum 38466eb6522a8dd07cf2abbbab6a13db6ce60dd96a556635900e60338999fe9b RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-2" --checksum f1bee333423f6627d795ea9e0b6a89c18d2e5c2e2d015bb4620f040f1d520cf6 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "prestashop" "1.7.6-8-0" --checksum 80ff5b5aed870512e844d15320fe95d8cd835c2e4f0ea9a32743d32358971542 @@ -22,8 +22,8 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/mysql-client/postunpack.sh -RUN /opt/bitnami/scripts/apache/postunpack.sh RUN /opt/bitnami/scripts/php/postunpack.sh +RUN /opt/bitnami/scripts/apache/postunpack.sh RUN /opt/bitnami/scripts/apache-modphp/postunpack.sh RUN /opt/bitnami/scripts/prestashop/postunpack.sh ENV ALLOW_EMPTY_PASSWORD="no" \ @@ -31,7 +31,7 @@ ENV ALLOW_EMPTY_PASSWORD="no" \ APACHE_HTTPS_PORT_NUMBER="" \ APACHE_HTTP_PORT_NUMBER="" \ BITNAMI_APP_NAME="prestashop" \ - BITNAMI_IMAGE_VERSION="1.7.6-8-debian-10-r38" \ + BITNAMI_IMAGE_VERSION="1.7.6-8-debian-10-r39" \ MARIADB_HOST="mariadb" \ MARIADB_PORT_NUMBER="3306" \ MARIADB_ROOT_PASSWORD="" \ diff --git a/bitnami/prestashop/1.7/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/prestashop/1.7/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json index 382f821f11d6..67db39c49514 100644 --- a/bitnami/prestashop/1.7/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/prestashop/1.7/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json @@ -22,10 +22,10 @@ }, "mysql-client": { "arch": "amd64", - "digest": "f2d5aa7f15f9b7db734fcca281a638bb8ce68fd6b31cc3f8fc39ec292ab16a7f", + "digest": "29bb3dc1daaa805905a7f450f00a446ec3ebf3090dff74045b4e47fcfe917942", "distro": "debian-10", "type": "NAMI", - "version": "10.2.34-0" + "version": "10.2.35-0" }, "php": { "arch": "amd64", diff --git a/bitnami/prestashop/README.md b/bitnami/prestashop/README.md index 6c1138563745..c41bfdab97ff 100644 --- a/bitnami/prestashop/README.md +++ b/bitnami/prestashop/README.md @@ -41,7 +41,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`1.7`, `1.7-debian-10`, `1.7.6-8`, `1.7.6-8-debian-10-r38`, `latest` (1.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-prestashop/blob/1.7.6-8-debian-10-r38/1.7/debian-10/Dockerfile) +* [`1.7`, `1.7-debian-10`, `1.7.6-8`, `1.7.6-8-debian-10-r39`, `latest` (1.7/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-prestashop/blob/1.7.6-8-debian-10-r39/1.7/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/prestashop GitHub repo](https://github.com/bitnami/bitnami-docker-prestashop). @@ -452,10 +452,12 @@ Here is an example of extending the image with the following modifications: FROM bitnami/prestashop LABEL maintainer "Bitnami " +## Change user to perform privileged actions +USER 0 ## Install 'vim' -USER 0 # Required to perform privileged actions RUN install_packages vim -USER 1001 # Revert to the original non-root user +## Revert to the original non-root user +USER 1001 ## Enable mod_ratelimit module RUN sed -i -r 's/#LoadModule ratelimit_module/LoadModule ratelimit_module/' /opt/bitnami/apache/conf/httpd.conf