17 lines
526 B
Bash
17 lines
526 B
Bash
#!/bin/bash -e
|
|
#
|
|
# S2I assemble script for the 'lighttpd-centos7' image.
|
|
# The 'assemble' script builds your application source so that it is ready to run.
|
|
#
|
|
# For more information refer to the documentation:
|
|
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
|
|
#
|
|
|
|
# If the 'lighttpd-centos7' assemble script is executed with the '-h' flag, print the usage.
|
|
if [[ "$1" == "-h" ]]; then
|
|
exec /usr/libexec/s2i/usage
|
|
fi
|
|
|
|
echo "---> Installing application source..."
|
|
cp -Rf /tmp/src/. ./
|