Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL002-SOL003
Commits
38ec5831
Commit
38ec5831
authored
Feb 02, 2018
by
Michele Carignani
Committed by
Gerrit Code Review
Feb 02, 2018
Browse files
Merge "Making it possible to build behind a corporate proxy"
parents
75951eda
ba24ee92
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
38ec5831
...
...
@@ -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
...
...
docker/build-container.sh
View file @
38ec5831
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment