Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Okean with Docker #4

Open
granterogers opened this issue Jan 23, 2017 · 1 comment
Open

Using Okean with Docker #4

granterogers opened this issue Jan 23, 2017 · 1 comment

Comments

@granterogers
Copy link

I am trying to implement a docker image using Okean.

My Dockerfile read as follows:

#Work from an Ubuntu Base Image
FROM ubuntu

RUN apt-get update
RUN apt-get install -y python2.7 python-pip git
RUN apt-get install -y gfortran

RUN pip install --upgrade pip
RUN pip install numpy netCDF4 matplotlib pylatex requests requests
pandas pytz scipy oct2py windrose adjustText
RUN pip install git+https://github.com/martalmeida/okean.git#egg=okean

I can run all of this fine in my native system (Ubuntu 10.04), however the last part always
fails in docker and produces several pages of warnings and errors!

Would be extrememly grateful if someone has resolved this issue.

@granterogers
Copy link
Author

I managed to resolve the issue by specifying version of the python modules priors to trying to install okean

RUN pip install --upgrade pip
&& pip install numpy==1.11.0 netCDF4==1.2.7 matplotlib==1.5.1 pylatex==1.1.1 requests==2.12.4
pandas==0.19.2 pytz==2014.10 scipy==0.17.0 oct2py==3.8.1 windrose==1.6 adjustText==0.6.0
git+https://github.com/martalmeida/okean.git#egg=okean

SOLVED!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant