commit 5ed0b89a76a22d6b6ee0e8f4ea9027a80f8ed6bf Author: Orion Kindel Date: Sat Sep 23 14:20:18 2023 -0500 init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aac3cfc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:bookworm + +RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ + --mount=type=cache,target=/var/lib/apt,sharing=locked \ + export DEBIAN_FRONTEND=noninteractive \ + && apt-get update -y \ + && apt-get upgrade -y \ + && apt-get install -y tini git curl + +RUN git clone https://github.com/asdf-vm/asdf.git /root/.asdf --branch v0.13.1 +RUN echo "source /root/.asdf/asdf.sh" >> /root/.bashrc +RUN echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc +RUN chsh root -s /bin/bash + +SHELL ["/bin/bash", "-lc"] + +RUN echo -n "bun purescript spago python rust" | xargs -d " " -I{} asdf plugin add {} + +ENTRYPOINT ["/usr/bin/tini", "--"]