add Dockerfile

This commit is contained in:
Michael Henke 2023-01-05 15:24:26 -08:00
parent f9ec1d1aa3
commit b0a57dde55

17
docker/Dockerfile Normal file
View File

@ -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"]