docker-asdf/Dockerfile

23 lines
725 B
Docker
Raw Permalink Normal View History

2023-09-23 19:20:18 +00:00
FROM debian:bookworm
2024-04-13 22:04:05 +00:00
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y git
RUN apt-get install -y curl
2023-09-23 19:20:18 +00:00
RUN git clone https://github.com/asdf-vm/asdf.git /root/.asdf --branch v0.13.1
2024-04-13 22:04:05 +00:00
RUN echo "source /root/.asdf/asdf.sh" >> /root/.bashrc \
&& echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc \
&& chsh root -s /bin/bash
2023-09-23 19:20:18 +00:00
SHELL ["/bin/bash", "-lc"]
RUN echo -n "bun purescript spago python rust" | xargs -d " " -I{} asdf plugin add {}
2024-04-13 22:04:05 +00:00
RUN apt-get install -y tini
2023-09-23 19:20:18 +00:00
ENTRYPOINT ["/usr/bin/tini", "--"]
2024-04-13 22:04:05 +00:00
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