docker-asdf/Dockerfile
2024-04-13 17:04:05 -05:00

23 lines
725 B
Docker

FROM debian:bookworm
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y git
RUN apt-get install -y 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 \
&& echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc \
&& chsh root -s /bin/bash
SHELL ["/bin/bash", "-lc"]
RUN echo -n "bun purescript spago python rust" | xargs -d " " -I{} asdf plugin add {}
RUN apt-get install -y tini
ENTRYPOINT ["/usr/bin/tini", "--"]
RUN apt-get install -y build-essential
RUN apt-get install -y zlib1g zlib1g-dev
RUN apt-get install -y bzip2 libncurses-dev ncurses-bin libffi-dev readline-common openssl libssl-dev