aboutsummaryrefslogtreecommitdiffstats
path: root/docker/git-proxy
blob: 9fd844e9810c9abce87350995a91577ddd5a9a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# This simple proxy script (for git) resides at /opt/bin in the layersapp
# container. If you use it, uncomment the appropriate line in .gitproxy
# this method has been tested using a socks proxy
PROXY=your.proxy.server
PORT=portnumber

METHOD="-X 5 -x ${PROXY}:${PORT}"

# BSD netcat is used to connect
/bin/nc $METHOD $*