layerindex-web/docker/git-proxy
Alex Franco 4daaf718db Docker based environment setup
Replicate production setup in Docker containers

[YOCTO #7575]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2015-10-07 11:34:34 +01:00

336 B
Executable File

#!/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 $*