fix: apt deps
This commit is contained in:
parent
63641c3115
commit
9b0fb77639
21
Dockerfile
21
Dockerfile
@ -1,19 +1,22 @@
|
|||||||
FROM debian:bookworm
|
FROM debian:bookworm
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN apt-get update -y && apt-get upgrade -y
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
|
||||||
export DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get install -y git
|
||||||
&& apt-get update -y \
|
RUN apt-get install -y curl
|
||||||
&& 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 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/asdf.sh" >> /root/.bashrc \
|
||||||
RUN echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc
|
&& echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc \
|
||||||
RUN chsh root -s /bin/bash
|
&& chsh root -s /bin/bash
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-lc"]
|
SHELL ["/bin/bash", "-lc"]
|
||||||
|
|
||||||
RUN echo -n "bun purescript spago python rust" | xargs -d " " -I{} asdf plugin add {}
|
RUN echo -n "bun purescript spago python rust" | xargs -d " " -I{} asdf plugin add {}
|
||||||
|
|
||||||
|
RUN apt-get install -y tini
|
||||||
ENTRYPOINT ["/usr/bin/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
|
||||||
|
Loading…
Reference in New Issue
Block a user