From 639e50050702d094a9464cf263995f7f19079eaf Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Mon, 26 Dec 2022 13:06:48 -0500 Subject: Add an option for embedded socat in the client --- socat/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 socat/Dockerfile (limited to 'socat/Dockerfile') diff --git a/socat/Dockerfile b/socat/Dockerfile new file mode 100644 index 0000000..1cfd72a --- /dev/null +++ b/socat/Dockerfile @@ -0,0 +1,13 @@ +FROM docker.io/alpine:latest +ARG SOCAT_VERSION + +RUN apk add gcc make alpine-sdk openssl-dev openssl-libs-static + +RUN wget http://www.dest-unreach.org/socat/download/socat-$SOCAT_VERSION.tar.gz + +RUN tar xfzv socat-$SOCAT_VERSION.tar.gz + +WORKDIR /socat-$SOCAT_VERSION + +RUN env LDFLAGS=-static ./configure --enable-openssl && make -j$(nproc) + -- cgit v1.2.3