Skip to content

Instantly share code, notes, and snippets.

@chuwy
Last active August 29, 2015 14:24
Show Gist options
  • Save chuwy/b988eba67fdb6abd587c to your computer and use it in GitHub Desktop.
Save chuwy/b988eba67fdb6abd587c to your computer and use it in GitHub Desktop.
Beanstalk
# Dockerfile
FROM java:7
MAINTAINER Snowplow Analytics, support@snowplowanalytics.com
WORKDIR /
USER daemon
EXPOSE 8000
ADD start.sh /tmp/
CMD ./tmp/start.sh
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "java:7"
},
"Ports": [
{
"ContainerPort": "8000"
}
]
}
#/bin/sh
# Script need to be executable!
cd /tmp
wget -N http://dl.bintray.com/snowplow/snowplow-generic/schema_guru_webui_0.2.0.zip
unzip -o schema_guru_webui_0.2.0.zip
java -jar schema-guru-webui-0.2.0.jar
#/bin/sh
cd /tmp
wget -N http://chuwy.me/schema-guru-webui-0.2.0
java -jar schema-guru-webui-0.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment