Is your feature request related to a problem? Please describe.
When access to the internet (GitHub) is not guaranteed, we have a stop gap solution that allows a developer to work in isolation (at least for appsody list and appsody init) - but that solution needs to be documented.
Describe the solution you'd like
Documentation on downloading the local nginx image and using it.
The steps are as follows:
1) Make sure your 8008 port is available locally:
netstat -na |grep 8008
(or pick another port)
1) Download the nginx image:
docker pull appsody/appsody-index
1) Run it:
docker run -p 8008:8080 -e EXTERNAL_URL=http://localhost:8008/ appsody/appsody-index
1) Check that someone is listening on 8008:
sudo lsof -PiTCP -sTCP:LISTEN
1) Add the new repo and make it the default:
appsody repo add nginx-incubator http://localhost:8008/incubator-index.yamlappsody repo set-default nginx-incubator
1) Remove repos that aren't accessible:
appsody repo remove <repo name>
for every repo.
Is your feature request related to a problem? Please describe. When access to the internet (GitHub) is not guaranteed, we have a stop gap solution that allows a developer to work in isolation (at least for
appsody list
andappsody init
) - but that solution needs to be documented.Describe the solution you'd like Documentation on downloading the local
nginx
image and using it. The steps are as follows: 1) Make sure your 8008 port is available locally:netstat -na |grep 8008
(or pick another port) 1) Download the nginx image:docker pull appsody/appsody-index
1) Run it:docker run -p 8008:8080 -e EXTERNAL_URL=http://localhost:8008/ appsody/appsody-index
1) Check that someone is listening on 8008:sudo lsof -PiTCP -sTCP:LISTEN
1) Add the new repo and make it the default:appsody repo add nginx-incubator http://localhost:8008/incubator-index.yaml
appsody repo set-default nginx-incubator
1) Remove repos that aren't accessible:appsody repo remove <repo name>
for every repo.1) Now run
appsody list
.