From 5ed0b89a76a22d6b6ee0e8f4ea9027a80f8ed6bf Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Sat, 23 Sep 2023 14:20:18 -0500 Subject: [PATCH] init --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile 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", "--"]