Commit e954db38 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

Update Dockerfile

parent 3e10845f
......@@ -25,7 +25,7 @@ RUN export uid=1001 gid=1001 && \
# Download Snap + Sen2Cor
# ----------------------------------------------------------------------------
RUN cd /home/lozach/esa-snap \
&& wget http://step.esa.int/downloads/6.0/installers/esa-snap_sentinel_unix_6_0.sh \
&& wget http://step.esa.int/downloads/7.0/installers/esa-snap_sentinel_unix_7_0.sh \
&& wget http://step.esa.int/thirdparties/sen2cor/2.8.0/Sen2Cor-02.08.00-Linux64.run
# ----------------------------------------------------------------------------
......@@ -33,9 +33,9 @@ RUN cd /home/lozach/esa-snap \
# ----------------------------------------------------------------------------
RUN cd /home/lozach/esa-snap \
&& chown -R lozach:lozach /home/lozach \
&& chmod +x esa-snap_sentinel_unix_6_0.sh \
&& chmod +x esa-snap_sentinel_unix_7_0.sh \
&& chmod +x Sen2Cor-02.08.00-Linux64.run \
&& echo "\n\n/home/lozach/esa-snap/snap\n\nn\n\nn\n" | sudo -u lozach ./esa-snap_sentinel_unix_6_0.sh \
&& echo "\n\n/home/lozach/esa-snap/snap\n\nn\n\nn\n" | sudo -u lozach ./esa-snap_sentinel_unix_7_0.sh \
&& sudo -u lozach ./Sen2Cor-02.08.00-Linux64.run
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment