| Date: Fri, 25 Sep 2020 15:00:10 +0200
Add Dockerfile.
Thanks Solene and 0x1b1 for working on this!
Diffstat:
A docker/Dockerfile | 17 +++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)
--- |
| @@ -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 |