mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +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>
13 lines
336 B
Bash
Executable File
13 lines
336 B
Bash
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 $*
|