init
This commit is contained in:
commit
5ed0b89a76
19
Dockerfile
Normal file
19
Dockerfile
Normal 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", "--"]
|
Loading…
Reference in New Issue
Block a user