Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
c14a52f6
Commit
c14a52f6
authored
Jul 23, 2018
by
Philipp Arras
Browse files
Set matplotlib backend in Dockerfile
parent
e7ff7772
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c14a52f6
...
...
@@ -65,7 +65,6 @@ pages:
-
NIFTy_4
before_script
:
-
export MPLBACKEND="agg"
-
python setup.py install --user -f
-
python3 setup.py install --user -f
...
...
Dockerfile
View file @
c14a52f6
...
...
@@ -29,6 +29,9 @@ RUN apt-get update && apt-get install -y python-matplotlib python3-matplotlib \
&&
python3
-m
pip
install
--upgrade
pip
&&
python3
-m
pip
install
jupyter
&&
python
-m
pip
install
--upgrade
pip
&&
python
-m
pip
install
jupyter
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Set matplotlib backend
ENV
MPLBACKEND agg
# Create user (openmpi does not like to be run as root)
RUN
useradd
-ms
/bin/bash testinguser
USER
testinguser
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment