From 80b66472a5a7e5c385d2b3bd4a18789c7a11a00d Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 10 Aug 2018 13:34:09 +0000 Subject: [PATCH] Pin Python requests library to 2.19.1 The latest version as of the time of this commit. --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 307c425a5..ed5a9c054 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.10.2-stretch ENV SCOPE_SKIP_UI_ASSETS true RUN apt-get update && \ - apt-get install -y libpcap-dev python-requests time file shellcheck git gcc-arm-linux-gnueabihf curl build-essential python-pip && \ + apt-get install -y libpcap-dev time file shellcheck git gcc-arm-linux-gnueabihf curl build-essential python-pip && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN go clean -i net && \ go install -tags netgo std && \ @@ -18,7 +18,7 @@ RUN go get -tags netgo \ github.com/client9/misspell/cmd/misspell && \ chmod a+wr --recursive /usr/local/go && \ rm -rf /go/pkg/ /go/src/ -RUN pip install yapf==0.16.2 flake8==3.3.0 +RUN pip install yapf==0.16.2 flake8==3.3.0 requests==2.19.1 COPY build.sh / ENTRYPOINT ["/build.sh"]