Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Components
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Workflows
Components
Commits
9f163157
Commit
9f163157
authored
3 months ago
by
Cristiano Köhler
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile for 3.8, based on the conda installation
parent
99cb11ec
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/nest/image/Dockerfile_nest38
+39
-0
39 additions, 0 deletions
tools/nest/image/Dockerfile_nest38
with
39 additions
and
0 deletions
tools/nest/image/Dockerfile_nest38
0 → 100644
+
39
−
0
View file @
9f163157
FROM python:3.11
# Install system deps
RUN apt-get update && apt-get install -y \
wget \
bzip2 \
ca-certificates \
libglib2.0-0 \
libxext6 \
libsm6 \
libxrender1 \
git \
&& rm -rf /var/lib/apt/lists/*
# Install Miniforge
ENV CONDA_DIR=/opt/conda
RUN wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O /tmp/miniforge.sh && \
bash /tmp/miniforge.sh -b -p $CONDA_DIR && \
rm /tmp/miniforge.sh
ENV PATH=$CONDA_DIR/bin:$PATH
# Create NEST conda environment using mamba
RUN mamba create --name nest -c conda-forge python=3.11 nest-simulator==3.8 -y
# Use the environment by default
ENV PATH=$CONDA_DIR/envs/nest/bin:$PATH
WORKDIR /usr/src/app
RUN pip install --no-cache-dir --upgrade pip
RUN pip install cwltool
COPY nest_simulation_cli.py nest_simulation_cli.py
RUN chmod +x nest_simulation_cli.py
ENV PATH="/usr/src/app:$PATH"
CMD [ "/bin/sh" ]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment