Commit c1bee0ab authored by Cresson Remi's avatar Cresson Remi

FIX: lighter dockerimage

parent 586a50d5
......@@ -239,6 +239,11 @@ ENV PYTHONPATH="/work/otb/superbuild_install/lib/otb/python:/work/otb/otb/Module
ENV OTB_APPLICATION_PATH="/work/otb/superbuild_install/lib/otb/applications"
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/work/otb/superbuild_install/lib/:/work/tf/installdir/lib/"
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
RUN rm -rf /tmp/* /root/.cache && apt-get clean
# ----------------------------------------------------------------------------
# Add one user
# ----------------------------------------------------------------------------
......@@ -246,11 +251,6 @@ RUN useradd -s /bin/bash -m otbuser
USER otbuser
WORKDIR /home/otbuser
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
RUN rm -rf /tmp/* /root/.cache && apt-get clean
# ----------------------------------------------------------------------------
# Exemple :
# docker build --tag otbtf_image
......
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