summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-06-20 04:23:59 -0400
committerJesse Luehrs <doy@tozt.net>2021-06-20 04:23:59 -0400
commit8bdd6c5ee0f7bb59fd00d24a48fdc980c7ba8aa8 (patch)
tree4369ead5289020993a1f7662d0400be9882cb39c /bin
parentaa9134eaee7b06c38bc7984b147ef46d9ad1999e (diff)
downloadconf-8bdd6c5ee0f7bb59fd00d24a48fdc980c7ba8aa8.tar.gz
conf-8bdd6c5ee0f7bb59fd00d24a48fdc980c7ba8aa8.zip
make smt use alpine instead of debian
it has very few dependencies, so this seems to work fine (unlike reply which needs to do things like compile xs modules)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/smt6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/smt b/bin/smt
index 59696ef..ad3f459 100755
--- a/bin/smt
+++ b/bin/smt
@@ -2,8 +2,8 @@
set -eu
podman images | grep -q localhost/smt || cat <<EOF | podman build -t smt -f -
-FROM docker.io/debian:stable-slim
-RUN apt-get update && apt-get install -y cpanminus make
-RUN cpanm Games::SMTNocturne::Demons
+FROM docker.io/alpine:latest
+RUN apk add perl make
+RUN env PERL_MM_USE_DEFAULT=1 perl -MCPAN -e'install Games::SMTNocturne::Demons'
EOF
podman run --rm smt smt "$@"