mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00

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>
336 B
Executable File
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 $*