Building WSO2 APIM Docker Image behind the proxy

Recently I have struggled building the docker image of WSO2 API Manager 4.5 and the client system was running behind the corporate proxy. 

The usual command I ran to build the image for the below directory structure -

 Root-Directory
├── custom.zip
├── docker-entrypoint.sh
├── Dockerfile
└── wso2am-4.5.0.55_16042026.zip

Command -

sudo podman build . -t wso2am:4.5.0.55_16042026

However, the above command didn't work since proxy is expected in command. Then I added the proxy configuration both http and https and then it worked to build the custom docker image of WSO2 API manager v4.5-

sudo podman build . -t wso2am:4.5.0.55_16042026 --build-arg http_proxy=http://host:port/ --build-arg https_proxy=https://host:port/


Comments

Popular posts from this blog

Oracle SOA Suite- Implementing Email Notification

Oracle SOA Suite 12c- PKIX path building failed & unable to find valid certification path to requested target

Migration of Oracle SOA Suite Composite from 11g to 12c