Commit 78ec0850 authored by De Boissieu Florian's avatar De Boissieu Florian

Dockerfile moringa

parent 593696a3
Pipeline #14418 failed with stage
in 9 seconds
LABEL description="A container for the MORINGA processing chain, CIRAD/UMR TETIS"
# Compile obiatools library
RUN git clone && cd obiatools/Release \
&& sed -i 's/$HOME\/moringa/\/usr\/local\/lib\/python3.6\/dist-packages/g' \
&& sed -i 's/LIB=python3.6/LIB=python3.6m/g' \
&& mkdir /usr/local/lib/python3.6/dist-packages/sitsproc_c_modules \
&& touch /usr/local/lib/python3.6/dist-packages/sitsproc_c_modules/ \
&& bash -c "source && make" && cd ../.. && rm -rf obiatools
# Other python deps: rios, fmask
RUN pip3 install rios.core \
&& wget -q \
&& tar -xzf python-fmask-0.5.4.tar.gz && cd python-fmask-0.5.4 \
&& python3 install && cd .. && rm -rf python-fmask-*
# Default user and directory when running a container, is active now
RUN useradd -s /bin/bash -m moringa
USER moringa
WORKDIR /home/moringa
# Clone peps and theia utils
RUN git clone -b python3 \
&& git clone
# Install Sen2Cor
RUN wget -q \
&& bash && rm -f
# Copy all required files from repo
COPY --chown=moringa aux_data /home/moringa/aux_data
COPY --chown=moringa *.py *.cfg /home/moringa/
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment