Skip to content

Commit

Permalink
Merge pull request #482 from PasanT9/4.2.0-ga
Browse files Browse the repository at this point in the history
Prepare Docker and Docker Compose artifacts for 4.2.0 release
  • Loading branch information
PasanT9 committed Mar 21, 2023
2 parents a0a9fed + 3604f84 commit eed0ca5
Show file tree
Hide file tree
Showing 22 changed files with 53 additions and 54 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Changelog

All notable changes to Docker and Docker Compose resources for WSO2 API Management version `4.1.x` in each resource release, will be documented in this file.
All notable changes to Docker and Docker Compose resources for WSO2 API Management version `4.2.x` in each resource release, will be documented in this file.

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

## [v4.1.0.0] - 2022-03-23
## [v4.2.0.1] - 2023-03-21

### Changed
- Update all Docker resources to support WSO2 API Manager version `4.1.0`.
- Update all Docker Compose resources to supprt WSO2 API Manager version `4.1.0`.
- Update Docker Compose resources for the deployment of WSO2 APIM with MI to support Micro Integrator version `4.1.0.0`.
- Update all Docker resources to support WSO2 API Manager version `4.2.0`.
- Update all Docker Compose resources to supprt WSO2 API Manager version `4.2.0`.
- Update Docker Compose resources for the deployment of WSO2 APIM with MI to support Micro Integrator version `4.2.0.1`.
- Update IS extentions to the [latest version](https://repo1.maven.org/maven2/org/wso2/km/ext/wso2is/distribution/1.4.2/) `1.4.2` and mount wso2carbon and client-truststore keystores with the latest wso2carbon certificate in Identity Server as Key Manager with Choreo Analytics deployment setup.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ The issues page on GitHub is for tracking bugs and feature requests. When posing

If you like to contribute with a bug fix or a new feature, start by posting an issue and discussing the best way to implement it.

Unlike most projects, development for this repository is carried out on the `4.0.x` branch. This is because the `master` branch contains the latest stable release of the project.
The code in `4.0.x` is merged to the `master` branch after a final review and a round of testing.
Unlike most projects, development for this repository is carried out on the `4.2.x` branch. This is because the `master` branch contains the latest stable release of the project.
The code in `4.2.x` is merged to the `master` branch after a final review and a round of testing.

Please follow these guidelines when contributing to the code:

1. Fork the current repository.
2. Create a topic branch from the `4.0.x` branch.
2. Create a topic branch from the `4.2.x` branch.
3. Make commits in logical units.
4. Before you send out the pull request, sync your forked repository with a remote repository. This makes your pull request simple and clear.

```bash
git clone https://github.com/<user>/docker-apim.git
git remote add upstream https://github.com/wso2/docker-apim.git
git fetch upstream
git checkout -b <topic-branch> upstream/4.0.x
git checkout -b <topic-branch> upstream/4.2.x

# add some work

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ Docker Compose files have been created according to the most common API Manageme
to quickly evaluate product features along side their co-operate API Management requirements. The Compose files make use of per profile
Docker images of WSO2 API Manager, WSO2 Identity Server as Key Manager, and Micro Integrator as well as MySQL.

**Change log** from previous v4.0.0.4 release: [View Here](https://github.com/wso2/docker-apim/blob/4.0.x/CHANGELOG.md)
**Change log** from previous v4.1.0.2 release: [View Here](https://github.com/wso2/docker-apim/blob/4.1.x/CHANGELOG.md)
8 changes: 3 additions & 5 deletions docker-compose/apim-is-as-km-with-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
* Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/install/#install-compose)
in order to run the steps provided in following Quick start guide. <br><br>
* In order to use Docker images with WSO2 updates, you need an active WSO2 subscription.
Otherwise, you can proceed with Docker images available at [DockerHub](https://hub.docker.com/u/wso2/), which are created using GA releases.<br><br>
* If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using Docker resources available from [here](../../dockerfiles/) and remove the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* If you don't have a valid WSO2 Subscription, you can replace the images in [dockerfiles](../apim-is-as-km-with-analytics/dockerfiles/) with the [public image](https://hub.docker.com/repository/docker/wso2/wso2am) (`wso2/wso2am:4.1.0`). <br><br>
* If you are trying this out on Apple Silicon (with M1), use the public image that supports arm64 architecture (`wso2/wso2am:4.1.0-multiarch`). <br><br>
If you don't have a valid WSO2 Subscription, you need to build Docker images by source. Build Docker images using Docker resources available in [here](../../dockerfiles/) and replace the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* If you are trying this out on Apple Silicon (with M1), build images that supports arm64 architecture according to the instructions in [README](../../dockerfiles/ubuntu/apim/README.md). <br><br>

## Quick Start Guide

Expand All @@ -35,7 +33,7 @@
`docker-apim-<released-version-here>/docker-compose/apim-is-as-km-with-analytics` folder.
> If you intend to try out an already released tag, after executing 2nd step, checkout the relevant tag,
i.e. for example: `git checkout tags/v4.2.0.0`, switch to `docker-compose/apim-is-as-km-with-analytics` folder and continue with below steps.
i.e. for example: `git checkout tags/v4.2.0.1`, switch to `docker-compose/apim-is-as-km-with-analytics` folder and continue with below steps.

4. [Optional] Replace the existing IS extensions with the latest.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# set base Docker image to WSO2 API Manager Docker image with latest WSO2 Updates

FROM wso2am:4.2.0
FROM docker.wso2.com/wso2am:4.2.0.0

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>"

Expand Down
9 changes: 3 additions & 6 deletions docker-compose/apim-with-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
* Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/install/#install-compose)
in order to run the steps provided in following Quick start guide. <br><br>
* In order to use Docker images with WSO2 updates, you need an active WSO2 subscription.
Otherwise, you can proceed with Docker images available at [DockerHub](https://hub.docker.com/u/wso2/), which are created using GA releases.<br><br>
* If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using Docker resources
available from [here](../../dockerfiles/) and remove the `docker.wso2.com/` prefix from the base image (i.e. `FROM` instruction) in the [Dockerfiles](dockerfiles). <br><br>
* If you don't have a valid WSO2 Subscription, you can replace the images in [dockerfiles](../apim-with-analytics/dockerfiles/) with the [public image](https://hub.docker.com/repository/docker/wso2/wso2am) (`wso2/wso2am:4.1.0`). <br><br>
* If you are trying this out on Apple Silicon (with M1), use the public image that supports arm64 architecture (`wso2/wso2am:4.1.0-multiarch`). <br><br>
If you don't have a valid WSO2 Subscription, you need to build Docker images by source. Build Docker images using Docker resources available in [here](../../dockerfiles/) and replace the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* If you are trying this out on Apple Silicon (with M1), build images that supports arm64 architecture according to the instructions in [README](../../dockerfiles/ubuntu/apim/README.md). <br><br>

## Quick Start Guide

Expand All @@ -36,7 +33,7 @@
`docker-apim-<released-version-here>/docker-compose/apim-with-analytics` folder.
> If you intend to try out an already released tag, after executing 2nd step, checkout the relevant tag,
i.e. for example: `git checkout tags/v4.2.0.0`, switch to `docker-compose/apim-with-analytics` folder and continue with below steps.
i.e. for example: `git checkout tags/v4.2.0.1`, switch to `docker-compose/apim-with-analytics` folder and continue with below steps.

4. WSO2 no longer provides an on-premise Analytics solution. In order to connect WSO2 API Manager to [Choreo Analytics](https://analytics.choreo.dev/), obtain an `on-prem-key` by following the steps in the [documentation](https://apim.docs.wso2.com/en/4.2.0/observe/api-manager-analytics/configure-analytics/register-for-analytics/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# set base Docker image to WSO2 API Manager Docker image with latest WSO2 Updates
FROM wso2am:4.2.0
FROM docker.wso2.com/wso2am:4.2.0.0
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>"

# build arguments for external artifacts
Expand Down
8 changes: 3 additions & 5 deletions docker-compose/apim-with-mi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
* Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/install/#install-compose)
in order to run the steps provided in following Quick start guide. <br><br>
* In order to use Docker images with WSO2 updates, you need an active WSO2 subscription.
Otherwise, you can proceed with Docker images available at [DockerHub](https://hub.docker.com/u/wso2/), which are created using GA releases.<br><br>
* If you wish to run the Docker Compose setup using Docker images built locally, build Docker images using Docker resources available from [here](../../dockerfiles/) and remove the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* If you don't have a valid WSO2 Subscription, you can replace the images in [dockerfiles](../apim-with-mi/dockerfiles/) with the [public image](https://hub.docker.com/repository/docker/wso2/wso2am) (`wso2/wso2am:4.1.0`). <br><br>
* If you are trying this out on Apple Silicon (with M1), use the public image that supports arm64 architecture (`wso2/wso2am:4.1.0-multiarch`). <br><br>
If you don't have a valid WSO2 Subscription, you need to build Docker images by source. Build Docker images using Docker resources available in [here](../../dockerfiles/) and replace the `docker.wso2.com/` prefix from the `image` name in the `docker-compose.yml`. <br><br>
* If you are trying this out on Apple Silicon (with M1), build images that supports arm64 architecture according to the instructions in [README](../../dockerfiles/ubuntu/apim/README.md). <br><br>

## Quick Start Guide

Expand All @@ -35,7 +33,7 @@
`docker-apim-<released-version-here>/docker-compose/apim-with-mi` folder.
> If you intend to try out an already released tag, after executing 2nd step, checkout the relevant tag,
i.e. for example: `git checkout tags/v4.2.0.0`, switch to `docker-compose/apim-with-mi` folder and continue with below steps.
i.e. for example: `git checkout tags/v4.2.0.1`, switch to `docker-compose/apim-with-mi` folder and continue with below steps.

4. Add deployable `CAR` files

Expand Down
2 changes: 1 addition & 1 deletion docker-compose/apim-with-mi/dockerfiles/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# set base Docker image to WSO2 API Manager Docker image with latest WSO2 Updates
FROM wso2am:4.2.0
FROM docker.wso2.com/wso2am:4.2.0.0
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>"

# build arguments for external artifacts
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/apim-with-mi/dockerfiles/mi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# ------------------------------------------------------------------------

FROM wso2mi:4.2.0
FROM docker.wso2.com/wso2mi:4.2.0.0
LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>"

# copy CAR files to the MI server home
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/alpine/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -66,11 +66,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD='printf "\n\
Welcome to WSO2 Docker Resources \n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/alpine/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ git clone https://github.com/wso2/docker-apim.git


- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.

```
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/centos/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -70,11 +70,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD='printf "\n\
Welcome to WSO2 Docker resources.\n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ git clone https://github.com/wso2/docker-apim.git
#### 2. Build the Docker image.

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.

```
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/jdk11/alpine/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -66,11 +66,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD='printf "\n\
Welcome to WSO2 Docker Resources \n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/alpine/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ git clone https://github.com/wso2/docker-apim.git


- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.

```
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/jdk11/centos/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -70,11 +70,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD='printf "\n\
Welcome to WSO2 Docker resources.\n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ git clone https://github.com/wso2/docker-apim.git
#### 2. Build the Docker image.

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.

```
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/jdk11/ubuntu/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -81,11 +81,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD="\n\
Welcome to WSO2 Docker resources.\n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ git clone https://github.com/wso2/docker-apim.git
#### 2. Build the Docker image.

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.
```
docker build -t wso2am:4.2.0-jdk11 .
Expand Down
8 changes: 4 additions & 4 deletions dockerfiles/ubuntu/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ENV JAVA_HOME=/opt/java/openjdk \
PATH="/opt/java/openjdk/bin:$PATH"

LABEL maintainer="WSO2 Docker Maintainers <dev@wso2.org>" \
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.0"
com.wso2.docker.source="https://github.com/wso2/docker-apim/releases/tag/v4.2.0.1"

# set Docker image build arguments
# build arguments for user/group configurations
Expand All @@ -81,11 +81,11 @@ ARG USER_GROUP_ID=802
ARG USER_HOME=/home/${USER}
# build arguments for WSO2 product installation
ARG WSO2_SERVER_NAME=wso2am
ARG WSO2_SERVER_VERSION=4.2.0-rc
ARG WSO2_SERVER_VERSION=4.2.0
ARG WSO2_SERVER_REPOSITORY=product-apim
ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION}
ARG WSO2_SERVER_HOME=${USER_HOME}/wso2am-4.2.0
ARG WSO2_SERVER_DIST_URL=https://github.com/wso2/${WSO2_SERVER_REPOSITORY}/releases/download/v${WSO2_SERVER_VERSION}/${WSO2_SERVER}.zip
ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER}
ARG WSO2_SERVER_DIST_URL=<APIM_DIST_URL>
# build argument for MOTD
ARG MOTD="\n\
Welcome to WSO2 Docker resources.\n\
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ git clone https://github.com/wso2/docker-apim.git
#### 2. Build the Docker image.

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
- Change <APIM_DIST_URL> in Dockerfile to the location of the product pack.
Execute `docker build` command as shown below.
```
docker build -t wso2am:4.2.0 .
Expand Down

0 comments on commit eed0ca5

Please sign in to comment.