geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 2f68d11cbcca3d8d0a6d6488de48bca802c3090d
parent be50f346fca51181200fb47530981c722ed574d9
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 30 Sep 2020 21:48:47 +0200

Modify the Dockerfile for TLS support.

Thanks 0x1b1!

Diffstat:
docker/Dockerfile | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile @@ -1,17 +1,14 @@ -FROM debian AS build +FROM alpine AS build WORKDIR /usr/local/src/geomyidae -RUN apt-get update && apt-get install -y gcc make git +RUN apk update && apk add build-base libressl-dev 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= +RUN make -FROM debian - -ENV HOST 0.0.0.0 +FROM alpine COPY --from=build /usr/local/src/geomyidae/geomyidae /usr/local/sbin/geomyidae EXPOSE 70 -CMD geomyidae -d -h $HOST +CMD geomyidae -d -h 0.0.0.0