Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
c1c38dbd
Commit
c1c38dbd
authored
8 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
small fixes to Dockerfile
parent
2893567b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+20
-13
20 additions, 13 deletions
Dockerfile
with
20 additions
and
13 deletions
Dockerfile
+
20
−
13
View file @
c1c38dbd
...
...
@@ -5,23 +5,27 @@ MAINTAINER Tim O'Donnell <timodonnell@gmail.com>
RUN
echo
'debconf debconf/frontend select Noninteractive'
| debconf-set-selections
&&
\
apt-get update
&&
\
apt-get
install
--yes
\
python3-dev python-dev
\
python-virtualenv
\
libblas-dev
\
liblapack-dev
\
gfortran
\
libatlas-base-dev
\
libatlas3gf-base
\
libblas-dev
\
libfreetype6-dev
\
libhdf5-serial-dev
\
liblapack-dev
\
libpng12-dev
\
libyaml-dev
\
libzmq3-dev
\
libfreetype6-dev
\
libpng12-dev
\
pkg-config
&&
\
pkg-config
\
python-virtualenv
\
python3-dev
\
python-dev
&&
\
apt-get clean
&&
\
useradd
--create-home
--home-dir
/home/user
--shell
/bin/bash user
useradd
--create-home
--home-dir
/home/user
--shell
/bin/bash
-G
sudo
user
&&
\
echo
'%sudo ALL=(ALL) NOPASSWD:ALL'
>>
/etc/sudoers
# Set the locale (otherwise dask-distributed complains).
RUN
locale-gen en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANGUAGE en_US:en
ENV
LC_ALL en_US.UTF-8
...
...
@@ -31,11 +35,14 @@ ENV SHELL=/bin/bash
ENV
USER=user
WORKDIR
/home/user
# Setup virtual envs and install convenience packages.
# Setup virtual envs and install convenience packages. Note: installing
# cherrypy as part of the mhcflurry installation weirdly fails on a unicode
# issue in python2, but installing it separately seems to work. We also install
# bokeh so that dask distributed will have an admin web interface.
RUN
virtualenv venv-py3
--python
=
python3
&&
\
venv-py3/bin/pip
install
distributed jupyter seaborn
&&
\
venv-py3/bin/pip
install
cherrypy bokeh
distributed jupyter seaborn
&&
\
virtualenv venv-py2
--python
=
python
&&
\
venv-py2/bin/pip
install
distributed jupyter seaborn
venv-py2/bin/pip
install
cherrypy bokeh
distributed jupyter seaborn
# Install mhcflurry.
COPY
. ./mhcflurry
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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