aboutsummaryrefslogtreecommitdiff
path: root/socat/Dockerfile
blob: 1cfd72a4db26dde4258d118063ea2fa0e5ce506e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)