diff options
Diffstat (limited to 'catlfish-build')
| -rw-r--r-- | catlfish-build/Dockerfile | 5 | ||||
| -rw-r--r-- | catlfish-build/start.sh | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/catlfish-build/Dockerfile b/catlfish-build/Dockerfile new file mode 100644 index 0000000..451aa0d --- /dev/null +++ b/catlfish-build/Dockerfile @@ -0,0 +1,5 @@ +FROM catlfish-dev + +ADD start.sh / +WORKDIR /usr/local/src/catlfish +ENTRYPOINT ["/start.sh"] diff --git a/catlfish-build/start.sh b/catlfish-build/start.sh new file mode 100644 index 0000000..65b3f7a --- /dev/null +++ b/catlfish-build/start.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +set -o errexit +set -o nounset + +make dist +[ -n "${COPYTO}" ] && cp catlfish-*.tar.* ${COPYTO}/ |
