-
Notifications
You must be signed in to change notification settings - Fork 18
9.4 Docker Image
Rathna edited this page Jul 26, 2022
·
5 revisions
Sample Dockerfile located at root directory
- Download apim-cli release binary and copy it local director and build a docker image
docker build -t apimcli .
Above build hardcode with the release version 1.12.1
- Build docker image with specific apim-cli version
docker build -t apimcli --build-arg APIM_CLI_ARCHIVE=axway-apimcli-1.12.0.tar.gz .
docker run -e "JAVA_TOOL_OPTIONS=-Dlog4j.configurationFile=/opt/apim-cli-1.12.1/conf/log4j2.xml" -e LOG_LEVEL=debug apimcli app get -u apiadmin -p changeme2 -h 172.17.0.1