From 87f696f141d616b87b0c8078bfd0cfcdb2ff2601 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 6 Sep 2017 15:18:41 +0200 Subject: Add catlfish-build. --- catlfish-build/Dockerfile | 5 +++++ catlfish-build/start.sh | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 catlfish-build/Dockerfile create mode 100644 catlfish-build/start.sh (limited to 'catlfish-build') 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}/ -- cgit v1.1