########################################################
# nohup ./trigger.sh &
Where the contents of the scripts used, are as follows:
[root@openshift-master hello-python]# cat trigger.sh
#!/bin/bash
for i in $(seq 19460 300 40000); do
./generate_builds.sh $i `expr $i + 300`
wait
done
########################################################
[root@openshift-master hello-python]# cat hello.py
print("{1..20}")
########################################################
[root@openshift-master hello-python]# cat label_gen.py
#!/bin/env python
print "{",
for i in range(1, 20):
print '"foo%s":"bar%s", ' % (i,i),
print '"foo20":"bar20" }'########################################################
[root@openshift-master hello-python]# cat Dockerfile
#
# Super simple example of a Dockerfile
#
FROM ubuntu:latest
MAINTAINER Andrew Odewahn "[email protected]"
LABEL vendor=ACME\ Incorporated \
com.example.is-beta= \
com.example.is-production="" \
com.example.version="0.0.1-beta" \
com.example.release-date="2015-02-12"
RUN apt-get update
RUN apt-get install -y python python-pip wget
RUN pip install Flask
ADD hello.py /home/hello.py
WORKDIR /home