Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gaetano Raffaele
moringa
Commits
8d38ea17
Commit
8d38ea17
authored
Mar 31, 2021
by
Vincent Delbar
Browse files
FIX: Docker build allow ubuntu bionic (18.04)
parent
3ba95fde
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/moringa/Dockerfile
View file @
8d38ea17
...
...
@@ -14,6 +14,7 @@ RUN export PY_MINOR=$(python3 -c "import sys; print(sys.version_info.minor)") \
&&
git clone
"https://gitlab.irstea.fr/raffaele.gaetano/obiatools.git"
&&
cd
obiatools/Release
\
&&
sed
-i
"s/
\$
HOME
\/
moringa/
\/
usr
\/
local
\/
lib
\/
python3.
$PY_MINOR
\/
dist-packages/g"
configure.sh
\
&&
sed
-i
"s/python3.6/python3.
$PY_MINOR
/g"
configure.sh
\
&&
if
[
$PY_MINOR
=
"6"
]
;
then
sed
-i
"s/=python3
\.
6/=python3
\.
6m/g"
configure.sh
;
fi
\
&&
mkdir
"/usr/local/lib/python3.
$PY_MINOR
/dist-packages/sitsproc_c_modules"
\
&&
touch
"/usr/local/lib/python3.
$PY_MINOR
/dist-packages/sitsproc_c_modules/__init__.py"
\
&&
bash
-c
"source configure.sh && make -j4"
&&
cd
../..
&&
rm
-rf
obiatools
...
...
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