cvw/docs/docker/Dockerfile.regression
2024-04-06 16:47:32 -07:00

16 lines
383 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}
USER ${USERNAME}
WORKDIR /home/${USERNAME}/cvw
CMD [ "/bin/sh", "-c", "/home/${USERNAME}/run_regression.sh" ]