Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cresson Remi
otbtf
Commits
c1bee0ab
Commit
c1bee0ab
authored
May 26, 2020
by
Cresson Remi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: lighter dockerimage
parent
586a50d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tools/dockerfiles/r2.0/bionic.tf-r2.1.otb-7.1-GPU/Dockerfile
tools/dockerfiles/r2.0/bionic.tf-r2.1.otb-7.1-GPU/Dockerfile
+5
-5
No files found.
tools/dockerfiles/r2.0/bionic.tf-r2.1.otb-7.1-GPU/Dockerfile
View file @
c1bee0ab
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment