From b0a57dde55019aed218fb87a05cd15b0bfe61fbf Mon Sep 17 00:00:00 2001 From: Michael Henke Date: Thu, 5 Jan 2023 15:24:26 -0800 Subject: [PATCH] add Dockerfile --- docker/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker/Dockerfile diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..a15819d --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:3.17 AS build-env + +RUN apk add --update autoconf automake libtool git make gcc zlib g++ + +COPY . src/ + +RUN cd src \ + && make \ + && make install + +FROM alpine:3.17 + +COPY --from=build-env /usr/local/bin /usr/local/bin + +WORKDIR / + +ENTRYPOINT ["/usr/local/bin/nostril"] \ No newline at end of file