Commit 8d38ea17 authored by Vincent Delbar's avatar Vincent Delbar
Browse files

FIX: Docker build allow ubuntu bionic (18.04)

parent 3ba95fde
......@@ -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
......
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