mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
17 lines
442 B
Docker
17 lines
442 B
Docker
FROM wallysoc/toolchains_wally
|
|
|
|
ENV QUESTA=/cad/mentor/questa_sim-xxxx.x_x
|
|
ENV RUN_QUESTA=false
|
|
ENV USERNAME=cad
|
|
|
|
VOLUME [ "/home/${USERNAME}/cvw" ]
|
|
USER root
|
|
|
|
COPY --chown=${USERNAME}:${USERNAME} . /home/${USERNAME}
|
|
RUN chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}
|
|
RUN chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/cvw
|
|
|
|
USER ${USERNAME}
|
|
WORKDIR /home/${USERNAME}/cvw
|
|
|
|
CMD [ "/bin/sh", "-c", "/home/${USERNAME}/run_regression.sh" ] |