-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.girder
42 lines (31 loc) · 1.19 KB
/
Dockerfile.girder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM girder/girder:2.x-maintenance
ENV CPLUS_INCLUDE_PATH /usr/include/gdal
ENV C_INCLUDE_PATH /usr/include/gdal
RUN apt-get update && apt-get install -y \
libgdal-dev \
gdal-bin \
libmapnik-dev \
libjpeg62-turbo-dev \
zlib1g-dev \
libopenjp2-7
RUN pip install \
gdal==2.1.0 \
Pillow \
mapnik \
palettable \
pyproj \
xmltodict
RUN git clone --branch 2.x-maintenance https://github.com/OpenGeoscience/girder_geospatial.git /geometa && \
cd /geometa && pip install . && pip install types/vector types/raster types/grid && \
girder-install plugin . -s
RUN git clone https://github.com/girder/large_image.git /large_image && \
cd /large_image && pip install -e . && \
girder-install plugin . -s
RUN git clone https://github.com/shreddd/girder-ess-dive.git /ess_dive && \
cd /ess_dive && \
cp -r /ess_dive /girder/plugins/
COPY . /resonantgeodata
RUN cd /resonantgeodata && pip install -e . && girder-install plugin . -s
RUN chmod +x /resonantgeodata/devops/docker/scripts/girder-entrypoint.sh
RUN mv /resonantgeodata/devops/docker/girder.cfg ~/.girder/girder.cfg
ENTRYPOINT ["/resonantgeodata/devops/docker/scripts/girder-entrypoint.sh"]