geomyidae.Dockerfile - dockerfiles - Unnamed repository; edit this file 'description' to name the repository.
DIR Log
DIR Files
DIR Refs
---
DIR commit e9457f7fd6bf1e77fe99a3a76b9e698d0415faf4
HTML Author: kroovy <me@kroovy.de>
Date: Fri, 28 Aug 2026 13:14:03 +0200
geomyidae.Dockerfile
Diffstat:
A geomyidae.Dockerfile | 16 ++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
---
DIR diff --git a/geomyidae.Dockerfile b/geomyidae.Dockerfile
@@ -0,0 +1,16 @@
+# podman build -t geomyidae .; podman run -d --name geomyidae -p $PORT:70 -v /PATH/TO/GOPHERDIR:/var/gopher geomyidae
+
+FROM alpine AS build
+WORKDIR /src/geomyidae
+RUN apk update && apk add build-base git
+RUN git clone --depth=1 git://bitreich.org/geomyidae /src/geomyidae
+RUN sed -i 's/TLS_/#TLS_/g' /src/geomyidae/Makefile
+RUN sed -i 's/-o/-static -o/g' /src/geomyidae/Makefile
+RUN make
+
+FROM scratch
+COPY --from=build /src/geomyidae/geomyidae /geomyidae
+VOLUME ["/var/gopher"]
+EXPOSE 70
+ENTRYPOINT ["/geomyidae"]
+CMD ["-d", "-h", "0.0.0.0"]