summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-02-16 02:19:10 -0500
committerJesse Luehrs <doy@tozt.net>2022-02-16 02:19:10 -0500
commit206532952fb13f9de81ddd3d36d42a727667fa2c (patch)
treed30f062ef223851c4d72b4d15d4ac8aaea7b38c1
parente28f696301ce9457699a9d6d466fae17de90b695 (diff)
downloadconf-206532952fb13f9de81ddd3d36d42a727667fa2c.tar.gz
conf-206532952fb13f9de81ddd3d36d42a727667fa2c.zip
fix reply
-rwxr-xr-xbin/reply5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reply b/bin/reply
index 64669d6..250a93b 100755
--- a/bin/reply
+++ b/bin/reply
@@ -3,7 +3,8 @@ set -eu
podman images | grep -q localhost/reply || cat <<EOF | podman build -t reply -f -
FROM docker.io/debian:stable-slim
-RUN apt-get update && apt-get install -y cpanminus make gcc
-RUN cpanm Reply B::Keywords Data::Dump Carp::Always
+RUN sed -i 's/stable\/updates/stable-security\/updates/' /etc/apt/sources.list
+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
podman run --rm -itv /home/doy/.replyrc:/root/.replyrc reply reply "$@"