summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "$@"