Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM ubuntu:14.04
MAINTAINER Christoph Wiechert <[email protected]>
MAINTAINER https://github.com/henszey

COPY apt.conf /etc/apt/apt.conf
COPY enviroment /etc/enviroment
RUN . /etc/enviroment

RUN apt-get update
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y nodejs
Expand Down
1 change: 1 addition & 0 deletions apt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Acquire::http::proxy "<http_proxy>";
20 changes: 20 additions & 0 deletions enviroment
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

# Proxy
socks_user=<socket user>
SOCKS_USER=<socket user>
socks5_passwd=<password>
socks5_password=<password>
socks5_passwd=<password>
SOCKS5_PASSWORD=<password>


# Set no proxy
no_proxy=127.0.0.1,172.17.0.0/24
NO_PROXY=127.0.0.1,172.17.0.0/24

http_proxy="<http proxy>"
https_proxy="<https proxy>"
HTTP_PROXY="<http proxy>"
HTTPS_PROXY="<https proxy>"
socks_proxy="<socket proxy>"