Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
hubboss / bin / etc-hosts-aws_prod
Size: Mime:
#!/bin/bash

###
# Generate /etc/hosts entries for testing with aws_prod
#

ELB_DEFAULT_NAME=elb-default.us-east-1.aws.dckr.io
ELB_HUB_NAME=elb-hub.us-east-1.aws.dckr.io
ELB_IO_NAME=elb-io.us-east-1.aws.dckr.io

hub_docker_com_elb=`dig +short $ELB_HUB_NAME | tail -n1`
docker_com_elb=`dig +short $ELB_DEFAULT_NAME | tail -n1`
docker_io_elb=`dig +short $ELB_IO_NAME | tail -n1`

echo "# $ELB_DEFAULT_NAME"
echo $docker_com_elb            hub.docker.com
echo $docker_com_elb            hub-beta.docker.com
echo $docker_com_elb            hubgw.docker.com
echo "# $ELB_HUB_NAME"
echo $hub_docker_com_elb        registry.hub.docker.com
echo "# $ELB_IO_NAME"
echo $docker_io_elb             index.docker.io