This commit is contained in:
orion 2023-09-23 14:20:18 -05:00
commit 5ed0b89a76
Signed by: orion
GPG Key ID: 6D4165AE4C928719

19
Dockerfile Normal file
View File

@ -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", "--"]