Skip to content
Snippets Groups Projects
Commit 02a39117 authored by Joseph Weston's avatar Joseph Weston
Browse files

update Dockerfile to activate the revtex environment automatically

parent 45553856
No related branches found
No related tags found
No related merge requests found
Pipeline #22153 failed
......@@ -41,7 +41,7 @@ build-env:ubuntu: &build-docker
make:
stage: test
script:
- source activate revtex-markdown-paper && make
- make
artifacts:
paths:
- paper.pdf
......
......@@ -31,7 +31,8 @@ RUN chmod +x /usr/bin/tini
RUN mkdir /environments
COPY environment.yml /environments/
RUN conda-env create -f /environments/environment.yml
RUN conda-env create -f /environments/environment.yml && \
echo "conda activate revtex-markdown-paper" >> ~/.bashrc
ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD [ "/bin/bash" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment