#!/bin/sh

DISTRO=`cat /etc/*-release | grep ^ID= | grep -Po '".*?"' | tr -d '"'`

cat <<EOF
This is a STI python-3.3 ${DISTRO} base image:
To use it, install STI: https://github.com/openshift/source-to-image

Sample invocation:

sti build https://github.com/openshift/sti-python.git --context-dir=3.3/test/setup-test-app/ openshift/python-33-${DISTRO}7 python-sample-app


You can then run the resulting image via:
docker run -p 8080:8080 python-sample-app
EOF
