diff --git a/CHANGELOG.md b/CHANGELOG.md index e972be40..8dc64ac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to Docker and Docker Compose resources for WSO2 API Manageme The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [v3.2.0.6] - 2022-04-21 + +### Changed +- Updated Ubuntu based images for APIM and APIM Analytics to update the OS packages at build time. + ## [v3.2.0.4] - 2022-03-04 ### Changed diff --git a/dockerfiles/alpine/apim-analytics/dashboard/Dockerfile b/dockerfiles/alpine/apim-analytics/dashboard/Dockerfile index c99e9e23..5da9c01d 100755 --- a/dockerfiles/alpine/apim-analytics/dashboard/Dockerfile +++ b/dockerfiles/alpine/apim-analytics/dashboard/Dockerfile @@ -61,7 +61,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/alpine/apim-analytics/worker/Dockerfile b/dockerfiles/alpine/apim-analytics/worker/Dockerfile index c606f2a9..b20faf6e 100755 --- a/dockerfiles/alpine/apim-analytics/worker/Dockerfile +++ b/dockerfiles/alpine/apim-analytics/worker/Dockerfile @@ -61,7 +61,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/alpine/apim/Dockerfile b/dockerfiles/alpine/apim/Dockerfile index 9844f053..feb101b9 100755 --- a/dockerfiles/alpine/apim/Dockerfile +++ b/dockerfiles/alpine/apim/Dockerfile @@ -61,7 +61,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/centos/apim-analytics/dashboard/Dockerfile b/dockerfiles/centos/apim-analytics/dashboard/Dockerfile index fa3b7a8e..6aac6996 100755 --- a/dockerfiles/centos/apim-analytics/dashboard/Dockerfile +++ b/dockerfiles/centos/apim-analytics/dashboard/Dockerfile @@ -65,7 +65,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/centos/apim-analytics/worker/Dockerfile b/dockerfiles/centos/apim-analytics/worker/Dockerfile index 968b192b..59721ab3 100755 --- a/dockerfiles/centos/apim-analytics/worker/Dockerfile +++ b/dockerfiles/centos/apim-analytics/worker/Dockerfile @@ -65,7 +65,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations diff --git a/dockerfiles/centos/apim/Dockerfile b/dockerfiles/centos/apim/Dockerfile index 1433f527..723d63f2 100755 --- a/dockerfiles/centos/apim/Dockerfile +++ b/dockerfiles/centos/apim/Dockerfile @@ -65,7 +65,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations ARG USER=wso2carbon diff --git a/dockerfiles/ubuntu/apim-analytics/dashboard/Dockerfile b/dockerfiles/ubuntu/apim-analytics/dashboard/Dockerfile index c1d0cd90..4488cfd2 100755 --- a/dockerfiles/ubuntu/apim-analytics/dashboard/Dockerfile +++ b/dockerfiles/ubuntu/apim-analytics/dashboard/Dockerfile @@ -76,7 +76,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations @@ -116,6 +116,13 @@ RUN \ unzip \ wget \ && rm -rf /var/lib/apt/lists/* + +# update existing packages +RUN \ + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get update \ + && apt-get upgrade -y \ + && rm -rf /var/lib/apt/lists/* + # add the WSO2 product distribution to user's home directory RUN \ wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \ diff --git a/dockerfiles/ubuntu/apim-analytics/worker/Dockerfile b/dockerfiles/ubuntu/apim-analytics/worker/Dockerfile index e8530870..ce122e95 100755 --- a/dockerfiles/ubuntu/apim-analytics/worker/Dockerfile +++ b/dockerfiles/ubuntu/apim-analytics/worker/Dockerfile @@ -76,7 +76,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations @@ -116,6 +116,13 @@ RUN \ unzip \ wget \ && rm -rf /var/lib/apt/lists/* + +# update existing packages +RUN \ + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get update \ + && apt-get upgrade -y \ + && rm -rf /var/lib/apt/lists/* + # add the WSO2 product distribution to user's home directory RUN \ wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \ diff --git a/dockerfiles/ubuntu/apim/Dockerfile b/dockerfiles/ubuntu/apim/Dockerfile index ce81882a..3c5f3c59 100755 --- a/dockerfiles/ubuntu/apim/Dockerfile +++ b/dockerfiles/ubuntu/apim/Dockerfile @@ -76,7 +76,7 @@ RUN echo Verifying install ... \ && echo Complete. LABEL maintainer="WSO2 Docker Maintainers " \ - com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.4" + com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v3.2.0.6" # set Docker image build arguments # build arguments for user/group configurations @@ -117,6 +117,13 @@ RUN \ unzip \ wget \ && rm -rf /var/lib/apt/lists/* + +# update existing packages +RUN \ + DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get update \ + && apt-get upgrade -y \ + && rm -rf /var/lib/apt/lists/* + # add the WSO2 product distribution to user's home directory RUN \ wget -O ${WSO2_SERVER}.zip "${WSO2_SERVER_DIST_URL}" \