summaryrefslogtreecommitdiffstats
path: root/local/.bin/reply
diff options
context:
space:
mode:
Diffstat (limited to 'local/.bin/reply')
-rwxr-xr-xlocal/.bin/reply28
1 files changed, 0 insertions, 28 deletions
diff --git a/local/.bin/reply b/local/.bin/reply
deleted file mode 100755
index 412189f..0000000
--- a/local/.bin/reply
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-set -eu
-
-DOCKERFILE="$(cat <<EOF
-FROM docker.io/debian:stable-slim
-RUN apt-get update && apt-get install -y --no-install-recommends \
- cpanminus \
- make \
- gcc \
- libreadline-dev
-RUN cpanm -n \
- Reply \
- B::Keywords \
- Data::Dump \
- Carp::Always \
- Term::ReadLine::Gnu
-EOF
-)"
-IMAGE="$(basename "$0"):$(echo "$DOCKERFILE" | sha256sum | cut -d' ' -f1)"
-
-if [ -z "$(podman images -q "$IMAGE")" ]; then
- echo "$DOCKERFILE" | podman build -t "$IMAGE" -f - .
-fi
-
-podman run --rm -it \
- -v "$HOME"/.replyrc:/root/.replyrc \
- "$IMAGE" \
- reply "$@"