commit d7bb95819f8027c48d53cf93b01d676ea26d26df parent cfe4252fd21b32d273ffe9c45b9ce40232e7f6dd Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 25 Sep 2020 15:00:10 +0200 Add Dockerfile. Thanks Solene and 0x1b1 for working on this! Diffstat:
docker/Dockerfile | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile @@ -0,0 +1,17 @@ +FROM debian AS build + +WORKDIR /usr/local/src/geomyidae + +RUN apt-get update && apt-get install -y gcc make git +RUN git clone git://bitreich.org/geomyidae /usr/local/src/geomyidae +# Debian sucks at LibreSSL. Maybe find some other base image? +RUN make TLS_CFLAGS= TLS_LDFLAGS= + +FROM debian + +ENV HOST 0.0.0.0 + +COPY --from=build /usr/local/src/geomyidae/geomyidae /usr/local/sbin/geomyidae + +EXPOSE 70 +CMD geomyidae -d -h $HOST