Introduction
Introduction Statistics Contact Development Disclaimer Help
Modify the Dockerfile for TLS support. - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 2f68d11cbcca3d8d0a6d6488de48bca802c3090d
parent be50f346fca51181200fb47530981c722ed574d9
Author: Christoph Lohmann <[email protected]>
Date: Wed, 30 Sep 2020 21:48:47 +0200
Modify the Dockerfile for TLS support.
Thanks 0x1b1!
Diffstat:
M 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
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.