Commit 38ec5831 authored by Michele Carignani's avatar Michele Carignani Committed by Gerrit Code Review
Browse files

Merge "Making it possible to build behind a corporate proxy"

parents 75951eda ba24ee92
......@@ -3,12 +3,6 @@
FROM alpine:3.6
#ENV http_proxy
#ENV https_proxy something
#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
Supports Markdown
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