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

Force to use linux 32 when using docker exec ... sh -c "..."

parent e0f22a43
No related branches found
No related tags found
No related merge requests found
Pipeline #1739 passed
Pipeline: conan-docker-tools

#1755

    Pipeline: conan-docker-tools

    #1754

      Pipeline: conan-docker-tools

      #1753

        +13
        ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\nsource scl_source enable devtoolset-7 && /usr/bin/linux32 -- /bin/bash -c "$@" -s' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd 1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \ ...@@ -45,9 +45,9 @@ RUN groupadd g1001 -g 1001 \
        && 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 \ && 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} \ && 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 "..." # Force to use linux32 when Jenkins uses docker exec ... sh -c "..."
        && rm /bin/sh \ && rm /bin/sh \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash -c "$@"' > /bin/sh \ && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh && chmod +x /bin/sh
        USER conan USER conan
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment