diff options
Diffstat (limited to 's2i/bin/assemble')
-rwxr-xr-x | s2i/bin/assemble | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/s2i/bin/assemble b/s2i/bin/assemble new file mode 100755 index 0000000..652b321 --- /dev/null +++ b/s2i/bin/assemble @@ -0,0 +1,19 @@ +#!/bin/bash +# +# For more information refer to the documentation: +# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md +# + +source ${0}.pre + +echo "---> Create hello world page ..." +mkdir html +cat <<EOF > html/index.html +<html> + <head><title>hello world</title></head> + <body><h1>hello world</h1></body> +</html> +EOF + +echo "---> Fix permissions ..." +chmod -R +r html |