Skip to content

Docker Image that support Maven's proxy configuration over environment variables.

Notifications You must be signed in to change notification settings

alirizasaral/Maven-with-Proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven-with-Proxy

Docker Image that support Maven's proxy configuration over environment variables. To use the image, simply pull:

$ docker pull alirizasaral/maven-with-proxy

Here is a sample command to start the image

$ docker run -it -e "PROXY_HOST=localproxy" -e "PROXY_PORT=8080" alirizasaral/maven-with-proxy:latest bash

This image extends maven:3.3.9-jdk-8-alpine to allow configuration of proxy for maven. Following environment variables are supported:

Variable Name Description Example
PROXY_HOST Hostname without the protocol localproxy
PROXY_PORT Port number of the proxy 8080
PROXY_PROTOCOL The protocol http
PROXY_USER Proxy Username max
PROXY_PASS Proxy Password secret
NO_PROXY List of hosts accessible outside proxy localhost,127.0.0.1

About

Docker Image that support Maven's proxy configuration over environment variables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages