aboutsummaryrefslogtreecommitdiff
path: root/build/socat/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/socat/build.sh')
-rw-r--r--build/socat/build.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/build/socat/build.sh b/build/socat/build.sh
deleted file mode 100644
index fbc70d9..0000000
--- a/build/socat/build.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-build=docker
-if [ -x "$(command -v buildah)" ] ; then
- build=buildah
-fi
-
-run=docker
-if [ -x "$(command -v podman)" ] ; then
- run=podman
-fi
-
-image="socat-builder"
-$build build -t "$image" .
-
-
-if ! [ -d build ] ; then
- mkdir build;
-fi
-
-cp build-int.sh build/build.sh
-echo "chown -R $(id -u):$(id -g) /build" >> build/build.sh
-
-$run run --rm -it \
- -v `pwd`/build:/build \
- "$image" \
- sh /build/build.sh