File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM frolvlad/alpine-python3
2
+ MAINTAINER <https://github.com/o2r-project>
3
+
4
+ RUN apk add python3-dev g++ gcc libxml2-dev libxslt-dev --update-cache
5
+ RUN apk add gdal gdal-dev py-gdal --update-cache --repository http://nl.alpinelinux.org/alpine/edge/testing
6
+ RUN apk add git
7
+ RUN git clone --depth 1 -b master https://github.com/o2r-project/o2r-meta.git
8
+ WORKDIR /o2r-meta
9
+ RUN pip install -r requirements.txt
10
+ RUN apk del git py-pip
11
+
12
+ ENTRYPOINT ["python3" ]
Original file line number Diff line number Diff line change @@ -47,6 +47,18 @@ Alternatively you can use a precompiled python wheel of the gdal module that fit
47
47
48
48
pip install -r requirements.txt
49
49
50
+
51
+ ### Using Docker
52
+
53
+ Another way of installation is provided by the Dockerfile. Build it like this:
54
+
55
+ docker build -t meta .
56
+
57
+ And start the extractor (e.g.) like this:
58
+
59
+ docker run meta o2rmeta.py -debug extract -i extract/tests -o extract/tests -xo
60
+
61
+
50
62
51
63
## Usage
52
64
You can’t perform that action at this time.
0 commit comments