12345678910111213141516171819202122232425262728 |
- ARG PPTAG=2.4.1
- FROM paddlepaddle/paddle:${PPTAG}
- RUN wget https://paddlers.bj.bcebos.com/dependencies/gdal/GDAL-3.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl \
- && pip install GDAL-3.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl \
- && rm -rf GDAL-3.4.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- WORKDIR /opt
- RUN git clone https://github.com/PaddlePaddle/PaddleRS.git \
- && chmod 777 -R /opt/PaddleRS/examples
- ENV PYTHONPATH /opt/PaddleRS
- WORKDIR /opt/PaddleRS
- RUN pip install -r /opt/PaddleRS/requirements.txt -i https://mirror.baidu.com/pypi/simple
- WORKDIR /usr/src
- RUN pip install git+https://github.com/lucasb-eyer/pydensecrf.git \
- && rm -rf /usr/src/pydensecrf
- WORKDIR /opt/PaddleRS
|