Commit fcd615a9 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

docker: set PYTHONENV in simbricks and simbricks-min

parent aaa18272
...@@ -12,3 +12,4 @@ RUN git submodule update --init sims/external/femu \ ...@@ -12,3 +12,4 @@ RUN git submodule update --init sims/external/femu \
&& make -j `nproc` sims/external/femu/ready && make -j `nproc` sims/external/femu/ready
RUN make -j `nproc` build-images-min COMPRESSED_IMAGES=true \ RUN make -j `nproc` build-images-min COMPRESSED_IMAGES=true \
&& bash docker/cleanup_images.sh && bash docker/cleanup_images.sh
ENV PYTHONPATH=/simbricks/experiments
...@@ -13,3 +13,4 @@ RUN groupadd --gid $USER_GID $USERNAME \ ...@@ -13,3 +13,4 @@ RUN groupadd --gid $USER_GID $USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME
COPY --chown=${USERNAME}:${USERNAME} --from=builder /simbricks /simbricks COPY --chown=${USERNAME}:${USERNAME} --from=builder /simbricks /simbricks
WORKDIR /simbricks WORKDIR /simbricks
ENV PYTHONPATH=/simbricks/experiments
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment