Skip to content

Commit

Permalink
no pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed May 1, 2024
1 parent 864c544 commit 0e74db6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
make \
patch \
pkg-config \
python3-pip \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -28,14 +29,8 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"

COPY requirements.txt /tmp/
RUN pyenv install 3.11.4 && \
pyenv global 3.11.4 && \
pyenv rehash && \
pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip3 install --break-system-packages --no-cache-dir -r /tmp/requirements.txt

COPY . /tmp/openpilot/body
RUN rm -rf /tmp/openpilot/body/.git

0 comments on commit 0e74db6

Please sign in to comment.