aboutsummaryrefslogtreecommitdiff
path: root/socat/build.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-12-26 13:06:48 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2022-12-26 13:06:48 -0500
commit639e50050702d094a9464cf263995f7f19079eaf (patch)
treecd6502f6d5af67e5a887474ed3225af37a20cd02 /socat/build.sh
parent9bd432b5de3592f89d885deaff953418822acaa9 (diff)
downloadrshsh-639e50050702d094a9464cf263995f7f19079eaf.tar.gz
rshsh-639e50050702d094a9464cf263995f7f19079eaf.tar.xz
Add an option for embedded socat in the clientHEADmaster
Diffstat (limited to 'socat/build.sh')
-rwxr-xr-xsocat/build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/socat/build.sh b/socat/build.sh
new file mode 100755
index 0000000..e50e5bf
--- /dev/null
+++ b/socat/build.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+SOCAT_VERSION=1.7.3.4
+image=socat-builder:latest
+buildah build --build-arg SOCAT_VERSION=$SOCAT_VERSION -t $image .
+podman run --rm -v "$(pwd)":/out/ $image cp -v /socat-$SOCAT_VERSION/socat /out/