Commit ba24ee92 authored by Gergely Csatari's avatar Gergely Csatari
Browse files

Making it possible to build behind a corporate proxy



Change-Id: Id004a301deeebc0b685faaa95481bf23ea7a8c0d
Signed-off-by: Gergely Csatari's avatarGergely Csatari <gergely.csatari@nokia.com>
parent 30fa5a0c
......@@ -3,12 +3,6 @@
FROM alpine:3.6
#ENV http_proxy http://10.144.1.10:8080
#ENV https_proxy something
#ENV HTTP_PROXY
#ENV HTTPS_PROXY
#ENV no_proxy
RUN env
RUN apk update
RUN apk add bash
......@@ -16,7 +10,7 @@ RUN apk add nodejs
RUN apk add nodejs-npm
RUN apk add asciidoctor
RUN apk add openjdk8
RUN apk add ca-certificates && update-ca-certificates
RUN apk add ca-certificates wget && update-ca-certificates
RUN apk add openssl
RUN gem install rdoc --pre || gem install rdoc --pre
RUN gem install asciidoctor-pdf-cjk
......
......@@ -22,4 +22,4 @@ fi
echo "Proxy set to $proxy"
docker build --build-arg http_proxy=$proxy -t openapivalidator .
\ No newline at end of file
docker build --build-arg http_proxy=$proxy --build-arg https_proxy=$proxy -t openapivalidator .
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment