From 72b3479bababc658f24cc7aa0dc8bb550f0474fc Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 1 May 2024 15:58:08 -0700 Subject: [PATCH] no pyenv --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd87145..57bd4c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,7 @@ FROM ubuntu:24.04 ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y capnproto libcapnp-dev clang wget git autoconf libtool curl make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl libeigen3-dev - -RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash -ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}" -RUN pyenv install 3.11.4 -RUN pyenv global 3.11.4 -RUN pyenv rehash +RUN apt-get update && apt-get install -y capnproto libcapnp-dev clang wget git autoconf libtool curl make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl libeigen3-dev python3-pip python3-dev WORKDIR /project @@ -15,6 +9,6 @@ ENV PYTHONPATH=/project COPY . . RUN rm -rf .git -RUN pip3 install --no-cache-dir -r requirements.txt +RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt RUN python3 setup.py install RUN scons -c && scons -j$(nproc)