Skip to content

Commit

Permalink
Merge pull request #42 from HeshanSudarshana/master-prepare-for-328-r…
Browse files Browse the repository at this point in the history
…elease-2

Upgrade MGW version to 3.2.8
  • Loading branch information
HeshanSudarshana authored Oct 3, 2023
2 parents 9a0202a + 604a2ad commit ecbd31c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to Docker resources for WSO2 API Microgateway will be docume

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [v3.2.8.1] - 2023-10-03

### Changed

- Upgrade to API Microgateway 3.2.8 (refer to [issue](https://github.com/wso2/docker-mg/issues/38))
- Upgrade JRE to the latest version (refer to [issue](https://github.com/wso2/docker-mg/issues/39))
- Upgrade Ubuntu version to 22.04 (refer to [issue](https://github.com/wso2/docker-mg/issues/40))

## [v3.2.7.1] - 2023-04-24

### Changed
Expand Down Expand Up @@ -67,3 +75,4 @@ For detailed information on the tasks carried out during this release, please se
[v3.2.4.2]: https://github.com/wso2/docker-mg/compare/v3.2.3.1...v3.2.4.2
[v3.2.5.1]: https://github.com/wso2/docker-mg/compare/v3.2.4.2...v3.2.5.1
[v3.2.7.1]: https://github.com/wso2/docker-mg/compare/v3.2.6.1...v3.2.7.1
[v3.2.8.1]: https://github.com/wso2/docker-mg/compare/v3.2.7.1...v3.2.8.1
8 changes: 4 additions & 4 deletions dockerfiles/alpine/mg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM alpine:3.16.1

LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \
com.wso2.docker.source="https://github.com/wso2/docker-mg/releases/tag/v3.2.7.1"
com.wso2.docker.source="https://github.com/wso2/docker-mg/releases/tag/v3.2.8.1"

ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

Expand All @@ -27,13 +27,13 @@ ARG USER_ID=802
ARG USER_GROUP=ballerina
ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
ARG JRE_BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jre_x64_linux_hotspot_8u345b01.tar.gz'
ARG INTERNAL_JRE=jdk8u332-b09-jre
ARG JRE_BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jre_x64_linux_hotspot_8u382b05.tar.gz'
ARG INTERNAL_JRE=jdk8u382-b05-jre
ARG JRE_HOME=/opt/java/openjdk

# build arguments for WSO2 product installation
ARG MGW_SERVER_NAME=wso2am-micro-gw-linux
ARG MGW_SERVER_VERSION=3.2.7
ARG MGW_SERVER_VERSION=3.2.8
ARG MGW_SERVER=${MGW_SERVER_NAME}-${MGW_SERVER_VERSION}
ARG MGW_RUNTIME_HOME=${USER_HOME}/wso2
ARG MGW_SERVER_DIST_URL=https://github.com/wso2/product-microgateway/releases/download/v${MGW_SERVER_VERSION}/${MGW_SERVER}.zip
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/alpine/mg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This section defines the step-by-step instructions to build an [Alpine](https://
1. Navigate to `/dockerfiles/alpine/mg` directory.
2. Build the Docker image using the following command.

```docker build --no-cache=true -t wso2/wso2micro-gw:3.2.7 .```
```docker build --no-cache=true -t wso2/wso2micro-gw:3.2.8 .```

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
Expand Down
10 changes: 5 additions & 5 deletions dockerfiles/ubuntu/mg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# -----------------------------------------------------------------------

# set base Docker image to AdoptOpenJDK Ubuntu Docker image
FROM ubuntu:20.04
FROM ubuntu:22.04
LABEL maintainer="WSO2 Docker Maintainers <[email protected]>" \
com.wso2.docker.source="https://github.com/wso2/docker-mg/releases/tag/v3.2.7.1"
com.wso2.docker.source="https://github.com/wso2/docker-mg/releases/tag/v3.2.8.1"

ENV LANG=C.UTF-8

Expand All @@ -28,13 +28,13 @@ ARG USER_ID=802
ARG USER_GROUP=ballerina
ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
ARG JRE_BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jre_x64_linux_hotspot_8u345b01.tar.gz'
ARG INTERNAL_JRE=jdk8u332-b09-jre
ARG JRE_BINARY_URL='https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jre_x64_linux_hotspot_8u382b05.tar.gz'
ARG INTERNAL_JRE=jdk8u382-b05-jre
ARG JRE_HOME=/opt/java/openjdk

# build arguments for WSO2 product installation
ARG MGW_SERVER_NAME=wso2am-micro-gw-linux
ARG MGW_SERVER_VERSION=3.2.7
ARG MGW_SERVER_VERSION=3.2.8
ARG MGW_SERVER=${MGW_SERVER_NAME}-${MGW_SERVER_VERSION}
ARG MGW_RUNTIME_HOME=${USER_HOME}/wso2
ARG MGW_SERVER_DIST_URL=https://github.com/wso2/product-microgateway/releases/download/v${MGW_SERVER_VERSION}/${MGW_SERVER}.zip
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu/mg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This section defines the step-by-step instructions to build an [Ubuntu](https://
1. Navigate to `/dockerfiles/ubuntu/mg` directory.
2. Build the Docker image using the following command.

```docker build --no-cache=true -t wso2/wso2micro-gw:3.2.7-ubuntu .```
```docker build --no-cache=true -t wso2/wso2micro-gw:3.2.8-ubuntu .```

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
Expand Down

0 comments on commit ecbd31c

Please sign in to comment.