Skip to content
Snippets Groups Projects
Commit 73d16aa3 authored by MADELA Patrick's avatar MADELA Patrick
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
        Showing
        with 29 additions and 16 deletions
        ......@@ -31,13 +31,7 @@ All images include:
        ### To build one image
        ```
        docker-compose build conan-el6-gcc44
        ```
        ### To build all images
        ```
        $ docker-compose build
        docker-compose -f conan-el6-gcc44\docker-compose.yml build
        ```
        ### To build an image manually without docker-compose
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd 1001 -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-el6-gcc44-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc44-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd 1001 -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-el6-gcc44:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc44/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd 1001 -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-el6-gcc73-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc73-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd 1001 -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-el6-gcc73:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc73/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd 1001 -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-el6-gcc83-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc83-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd 1001 -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-el6-gcc83:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc83/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -55,6 +55,7 @@ RUN groupadd 1001 -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-el6-gcc91-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc91-x86/Dockerfile
        args:
        - http_proxy
        - https_proxy
        ......
        ......@@ -54,6 +54,7 @@ RUN groupadd 1001 -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-el6-gcc91:
        build:
        context: .
        context: ..
        dockerfile: conan-el6-gcc91/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-gcc48-x86:
        build:
        context: .
        context: ..
        dockerfile: conan-el7-gcc48-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
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment