-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #976 from slaclab/docker-dev
Docker context that uses Anaconda to build rogue
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM continuumio/anaconda3 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
g++ \ | ||
gcc \ | ||
git \ | ||
cmake \ | ||
make | ||
|
||
RUN conda config --set channel_priority strict &&\ | ||
conda install -n base conda-libmamba-solver &&\ | ||
conda config --set solver libmamba | ||
|
||
RUN conda create -n rogue_tag -c tidair-tag -c conda-forge rogue | ||
|
||
RUN echo "source activate rogue_tag" > ~/.bashrc | ||
|
||
ENV PATH /opt/conda/envs/rogue_tag/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters