Skip to content

Using image under a reverse HTTPS proxy #2099

Closed Answered by GamePlayer-8
GamePlayer-8 asked this question in Q&A
Discussion options

You must be logged in to vote

PROXY environment variable wasn't worked so far. Although I've build the image by adding:

ENV CERT_URL="<URL>"

RUN cd /etc/ssl/certs/java && \
	wget "$CERT_URL" -O browser.der && \
	keytool -keystore cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias squid -file browser.der && \
	rm -f browser.der

Since then, it works.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by GamePlayer-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants