summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/smt6
-rw-r--r--docker/smt4
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/smt b/bin/smt
index d7ac305..40078a9 100755
--- a/bin/smt
+++ b/bin/smt
@@ -1,5 +1,9 @@
#!/bin/sh
set -eu
-podman images | grep -q localhost/smt || podman build -t smt -f ~/conf/docker/smt
+podman images | grep -q localhost/smt || cat <<EOF | podman build -t smt -f -
+FROM docker.io/debian:stable
+RUN apt-get update && apt-get install -y cpanminus make
+RUN cpanm Games::SMTNocturne::Demons
+EOF
podman run --rm smt smt "$@"
diff --git a/docker/smt b/docker/smt
deleted file mode 100644
index a7a45ee..0000000
--- a/docker/smt
+++ /dev/null
@@ -1,4 +0,0 @@
-FROM docker.io/debian:stable
-
-RUN apt-get update && apt-get install -y cpanminus make
-RUN cpanm Games::SMTNocturne::Demons