Dockerfile: Fold two related ENV settings together

One layer less.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2021-01-02 15:53:06 +01:00
parent cc159c471f
commit 2f4b89c77f

View File

@ -23,8 +23,8 @@ RUN apt-get install --no-install-recommends -y \
RUN wget -nv -O /usr/bin/oe-git-proxy "http://git.yoctoproject.org/cgit/cgit.cgi/poky/plain/scripts/oe-git-proxy" && \
chmod +x /usr/bin/oe-git-proxy
ENV GIT_PROXY_COMMAND="oe-git-proxy"
ENV NO_PROXY="*"
ENV GIT_PROXY_COMMAND="oe-git-proxy" \
NO_PROXY="*"
COPY . /kas
RUN pip3 --proxy=$https_proxy install /kas