-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathDockerfile.dev
37 lines (28 loc) · 1.2 KB
/
Dockerfile.dev
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
### BASE DOCKERFILE for the Ramp development and deployment environment
### updated March 29th, 2022
FROM tensorflow/tensorflow:2.8.0-gpu-jupyter
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-get update && apt-get install -y python3-opencv
RUN add-apt-repository ppa:ubuntugis/ppa && apt-get update
RUN apt-get update
RUN apt-get install -y gdal-bin
RUN apt-get install -y libgdal-dev
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV C_INCLUDE_PATH=/usr/include/gdal
# pip install dependencies.
COPY docker/pipped-requirements.txt pipped-requirements.txt
RUN pip install -r pipped-requirements.txt
# pip install solaris -- try with tmp-free build
COPY solaris /tmp/solaris
RUN pip install /tmp/solaris --use-feature=in-tree-build
### Add more libraries available via pip here
RUN pip install scikit-fmm --use-feature=in-tree-build
ENV RAMP_HOME=/tf
# pip install ramp
# comment out this whole block if you are going to do development on the ramp codebase
# RUN mkdir /tmp/ramp-staging
# COPY setup.py /tmp/ramp-staging/setup.py
# COPY README.md /tmp/ramp-staging/README.md
# COPY ramp /tmp/ramp-staging/ramp
# RUN pip install /tmp/ramp-staging --use-feature=in-tree-build