This is an automated email from the ASF dual-hosted git repository.

akrabat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-php.git


The following commit(s) were added to refs/heads/master by this push:
     new fecf670  Always install latest security fixes (8.0,8.1). (#125)
fecf670 is described below

commit fecf670bbffdbb817f6bd1569441afa572559d27
Author: falkzoll <[email protected]>
AuthorDate: Mon Oct 24 09:57:09 2022 +0200

    Always install latest security fixes (8.0,8.1). (#125)
    
    - Add 'apt-get upgrade' to always update the already installed packages 
with the latest security fixes in case they are not already part of the parent 
image.
---
 core/php8.0Action/Dockerfile | 2 ++
 core/php8.1Action/Dockerfile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/core/php8.0Action/Dockerfile b/core/php8.0Action/Dockerfile
index 303b292..0701067 100644
--- a/core/php8.0Action/Dockerfile
+++ b/core/php8.0Action/Dockerfile
@@ -40,6 +40,8 @@ ARG GO_PROXY_BUILD_FROM=release
 
 # install PHP extensions
 RUN apt-get -y update \
+    # Upgrade installed packages to get latest security fixes if the base 
image does not contain them already.
+    && apt-get upgrade -y --no-install-recommends \
     && apt-get -y install --no-install-recommends \
       unzip \
       libfreetype6 \
diff --git a/core/php8.1Action/Dockerfile b/core/php8.1Action/Dockerfile
index 75a4604..d06e034 100644
--- a/core/php8.1Action/Dockerfile
+++ b/core/php8.1Action/Dockerfile
@@ -40,6 +40,8 @@ ARG GO_PROXY_BUILD_FROM=release
 
 # install PHP extensions
 RUN apt-get -y update \
+    # Upgrade installed packages to get latest security fixes if the base 
image does not contain them already.
+    && apt-get upgrade -y --no-install-recommends \
     && apt-get -y install --no-install-recommends \
       unzip \
       libfreetype6 \

Reply via email to