@@ -1,4 +1,4 | |||||
1 |
FROM python: |
|
1 | FROM python:3.7-slim | |
2 |
|
2 | |||
3 | RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \ |
|
3 | RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \ | |
4 | git \ |
|
4 | git \ | |
@@ -10,7 +10,7 RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommend | |||||
10 | libatlas-base-dev \ |
|
10 | libatlas-base-dev \ | |
11 | libssl-dev \ |
|
11 | libssl-dev \ | |
12 | libhdf5-dev \ |
|
12 | libhdf5-dev \ | |
13 |
&& git clone --branch v |
|
13 | && git clone --branch v3.0-devel --depth 1 \ | |
14 | http://jro-dev.igp.gob.pe/rhodecode/schain \ |
|
14 | http://jro-dev.igp.gob.pe/rhodecode/schain \ | |
15 | && pip install numpy \ |
|
15 | && pip install numpy \ | |
16 | && cd schain \ |
|
16 | && cd schain \ |
@@ -46,7 +46,7 $ docker build -t schain . | |||||
46 | You can run a container using an xml file or a schain script also you need to mount a volume for the data input and for the output files/plots |
|
46 | You can run a container using an xml file or a schain script also you need to mount a volume for the data input and for the output files/plots | |
47 | ``` |
|
47 | ``` | |
48 | $ docker run -it --rm --volume /path/to/host/data:/data schain xml /data/test.xml |
|
48 | $ docker run -it --rm --volume /path/to/host/data:/data schain xml /data/test.xml | |
49 |
$ docker run -it --rm --volume /path/to/host/data:/data --entrypoint |
|
49 | $ docker run -it --rm --volume /path/to/host/data:/data --entrypoint /urs/local/bin/python schain /data/test.py | |
50 | ``` |
|
50 | ``` | |
51 |
|
51 | |||
52 | ## First Script |
|
52 | ## First Script |
General Comments 0
You need to be logged in to leave comments.
Login now