summaryrefslogtreecommitdiffstats
path: root/bin/reply
blob: 64669d65b5822f8faf911149712be85859c32154 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
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
EOF
podman run --rm -itv /home/doy/.replyrc:/root/.replyrc reply reply "$@"