I would like to set http proxy and https proxy to a docker container while building it. Hence I configured it with ENV keywords at the begining of the Dockerfile. Something like this
FROM hub.docker.example.com/fedora:25
ENV http_proxy=http://example.com:911
ENV https_proxy=https://example.com:912
RUN \
.
.
my tasks, download something which need proxy
.
.
ENTRYPOINT sleep infinity
But when I run the container and check with command ENV | grep proxy, there is no proxy being set. Am I doing anything wrong on the Dockerfile?
*It's a fedora image
