mirror of
https://github.com/jb55/nostril.git
synced 2024-11-24 00:49:07 -05:00
add Dockerfile
This commit is contained in:
parent
f9ec1d1aa3
commit
b0a57dde55
17
docker/Dockerfile
Normal file
17
docker/Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user