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

Develop docker #21

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ubuntu:18.04
MAINTAINER Jan Malec ([email protected])

RUN apt update
RUN apt install -y gfortran python3 python3-setuptools\
python3-numpy python3-dev unzip ca-certificates

COPY sandy-develop.zip /
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using COPY and a zip file, install git and run a clone command. 😉

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late response, I will change the Dockerfile and push the update!

RUN unzip sandy-develop.zip
RUN cd sandy-develop && python3 setup.py install
2 changes: 2 additions & 0 deletions Dockerfile/dockerfile-build-instructions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Place sandy-develop.zip in the same folder as the Dockerfile and run
"docker build -t "sandy:develop" .