Skip to content

Commit

Permalink
fix PYTHONPATH (#628)
Browse files Browse the repository at this point in the history
pythonpath was wrong, the location is what saved us
  • Loading branch information
sshane authored Aug 1, 2024
1 parent d7b99c4 commit 37e734b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

RUN pip3 install --break-system-packages --no-cache-dir pyyaml Cython scons pycapnp pre-commit ruff parameterized coverage numpy pytest

WORKDIR /project/msgq/
WORKDIR /project/msgq
RUN cd /tmp/ && \
git clone -b v2.x --depth 1 https://github.com/catchorg/Catch2.git && \
cd Catch2 && \
mv single_include/* /project/msgq/ && \
cd .. \
rm -rf Catch2

WORKDIR /project/msgq

ENV PYTHONPATH=/project
ENV PYTHONPATH=/project/msgq

COPY . .
RUN ls && rm -rf .git && \
Expand Down

0 comments on commit 37e734b

Please sign in to comment.