fix: apt deps
This commit is contained in:
parent
63641c3115
commit
9b0fb77639
21
Dockerfile
21
Dockerfile
@ -1,19 +1,22 @@
|
||||
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 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
|
||||
RUN echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc
|
||||
RUN chsh root -s /bin/bash
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user