layerindex-web/docker/git-proxy
Alex Franco e6233b61cd 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>
2016-06-22 16:35:06 -05: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 $*