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

Add proxy environment to allow install packages with yum from conan

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

#2818

    Pipeline: conan-docker-tools

    #2817

      Pipeline: conan-docker-tools

      #2816

        +13
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc48:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc48/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd g1001 -g 1001 \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc73-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc73-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd g1001 -g 1001 \
        && curl -s -L -o ${DEVTOOLS_ROOT}/bin/yq https://github.com/mikefarah/yq/releases/download/v4.34.2/yq_linux_amd64 \
        && chmod +x ${DEVTOOLS_ROOT}/bin/*
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc73:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc73/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd g1001 -g 1001 \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc82-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc82-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd g1001 -g 1001 \
        && curl -s -L -o ${DEVTOOLS_ROOT}/bin/yq https://github.com/mikefarah/yq/releases/download/v4.34.2/yq_linux_amd64 \
        && chmod +x ${DEVTOOLS_ROOT}/bin/*
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc83:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc83/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd g1001 -g 1001 \
        && echo -e '#!/bin/bash\n/usr/bin/linux32 -- /bin/bash "$@"' > /bin/sh \
        && chmod +x /bin/sh
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc93-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc93-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd g1001 -g 1001 \
        && curl -s -L -o ${DEVTOOLS_ROOT}/bin/yq https://github.com/mikefarah/yq/releases/download/v4.34.2/yq_linux_amd64 \
        && chmod +x ${DEVTOOLS_ROOT}/bin/*
        COPY environment /etc/environment
        USER conan
        WORKDIR /home/conan
        ......
        ......@@ -3,7 +3,8 @@ version: "3.8"
        services:
        conan-el7-gcc93:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc93/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        http_proxy=http://proxy.synchrotron-soleil.fr:8080
        https_proxy=http://proxy.synchrotron-soleil.fr:8080
        HTTP_PROXY=http://proxy.synchrotron-soleil.fr:8080
        HTTPS_PROXY=http://proxy.synchrotron-soleil.fr:8080
        no_proxy=127.0.0.1,localhost,::1,controlforge.synchrotron-soleil.fr
        \ No newline at end of file
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment