Skip to content
Snippets Groups Projects
Commit e0f22a43 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Force to use linux 32 when using docker exec ... sh

parent ca697694
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,11 @@ RUN groupadd 1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd 1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\nsource scl_source enable devtoolset-7 && /usr/bin/linux32 -- /bin/bash -c "$@" -s' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd 1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd 1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd g1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd g1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd g1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
......@@ -44,7 +44,11 @@ RUN groupadd g1001 -g 1001 \
# Install conan
&& curl -s -L -o ${CONAN_ROOT}.zip https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/conan/-/jobs/artifacts/python-3.6.13/download?job=linux-i686 \
&& unzip -q ${CONAN_ROOT}.zip -d ${DEVTOOLS_ROOT} \
&& rm ${CONAN_ROOT}.zip
&& rm ${CONAN_ROOT}.zip \
# Force to use linux 32 when using docker exec ... sh -c "..."
&& rm /bin/sh \
&& echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \
&& chmod +x /bin/sh
USER conan
WORKDIR /home/conan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment