Skip to content

Commit

Permalink
Fix python installation
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Jun 25, 2024
1 parent 784c20f commit 387eb08
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile.bindings
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM ubuntu:jammy

RUN apt-get update -q && apt-get install -y git curl xz-utils tar gpg build-essential
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q && apt-get install -y git curl xz-utils tar gpg build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev \
libncursesw5-dev tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

RUN adduser --shell /bin/bash --home /asdf --disabled-password asdf
ENV PATH="${PATH}:/asdf/.asdf/shims:/asdf/.asdf/bin"

WORKDIR /asdf

# COPY asdf-install-toolset /usr/local/bin

USER asdf
RUN git clone --depth 1 https://github.com/asdf-vm/asdf.git $HOME/.asdf && \
echo '. $HOME/.asdf/asdf.sh' >> $HOME/.bashrc && \
Expand All @@ -25,7 +24,7 @@ RUN asdf plugin add nodejs && \
asdf plugin add python && \
asdf plugin add rust

RUN asdf install || cat /tmp/*.log
RUN asdf install

WORKDIR /src

Expand Down

0 comments on commit 387eb08

Please sign in to comment.