diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-06-19 23:43:57 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-06-19 23:43:57 -0400 |
commit | eee0df70109c68bfaff241aed1a8d98bce1b1e5e (patch) | |
tree | d7fc4a76d700394c27426f42d2957a653975abd1 | |
parent | 68edcb18e51db18aa7de0bbf500f0e6c252dd1b3 (diff) | |
download | conf-eee0df70109c68bfaff241aed1a8d98bce1b1e5e.tar.gz conf-eee0df70109c68bfaff241aed1a8d98bce1b1e5e.zip |
condense this into a single script
-rwxr-xr-x | bin/smt | 6 | ||||
-rw-r--r-- | docker/smt | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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 |