Created
December 15, 2014 17:53
-
-
Save wonderb0lt/40384e9ccc598c16e95d to your computer and use it in GitHub Desktop.
cfn/docker script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Main configuration for docker run. In addition to this, you need to pass "VERSION" as an environment variable. | |
if [ -z $VERSION ]; then | |
echo "*** You need to pass VERSION as an environment variable ***" | |
exit 1 | |
fi | |
REGISTRY="some-docker-registry.elasticbeanstalk.com" | |
APP_NAME="spring-boot-docker-cfn-sample" | |
DESCRIPTION="Spring Boot + Docker + CloudFormation sample" | |
CONTEXT="Dockerfile" | |
MAVEN_ARTIFACT="lt.wonderb0.example:spring-boot-docker-cfn-sample" | |
REGIONS="us-east-1 eu-west-1" | |
source "docker/common.sh" | |
main "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment