@@ -37,18 +37,18 @@ RUN apt-get update \
|
||||
ENV CC=/usr/bin/gcc-12
|
||||
ENV CXX=/usr/bin/g++-12
|
||||
|
||||
RUN python3 -m venv /opt/modulus-python
|
||||
RUN python3 -m venv /opt/modulus_python
|
||||
|
||||
ENV PATH=/opt/modulus-python/bin:${PATH}
|
||||
ENV PATH=/opt/modulus_python/bin:${PATH}
|
||||
|
||||
RUN python -m pip install --no-cache-dir \
|
||||
conan==2.26.2
|
||||
|
||||
# The path is shared by source builds and exported consumer tooling.
|
||||
ARG MODULUS_TOOLS=tools
|
||||
COPY ${MODULUS_TOOLS}/docker/format-requirements.txt /tmp/modulus-format-requirements.txt
|
||||
RUN python -m pip install --no-cache-dir -r /tmp/modulus-format-requirements.txt
|
||||
COPY ${MODULUS_TOOLS}/docker/format_requirements.txt /tmp/modulus_format_requirements.txt
|
||||
RUN python -m pip install --no-cache-dir -r /tmp/modulus_format_requirements.txt
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
RUN mkdir -p /opt && touch /opt/modulus-build-image
|
||||
RUN mkdir -p /opt && touch /opt/modulus_build_image
|
||||
|
||||
Reference in New Issue
Block a user