aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Copeland <ben.copeland@linaro.org>2019-02-13 09:36:52 +0000
committerBenjamin Copeland <ben.copeland@linaro.org>2019-02-14 15:48:42 +0000
commitb34d6811c4feaa41cfb4165b0b8ebc0ba1fde8fa (patch)
treef287c3900ffd7956af21cbf32b8711f7aab3be8a
parentcafd4255528b1bd3d461afc0e45897159d1435e2 (diff)
downloadlinaro-license-protection-master.tar.gz
Django: Update to latest LTSHEADmaster
Due to the latest CVE-2019-6975 ( https://security.archlinux.org/CVE-2019-6975 ) lets update to latest version of django Change-Id: Ied909078b46d024779c29f5a8784476336f70f4b Reviewed-on: https://review.linaro.org/30292 Reviewed-by: Kelley Spoon <kelley.spoon@linaro.org> Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--Dockerfile4
-rw-r--r--requirements.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 14b4991..64e2a0d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,9 +5,11 @@ ADD . /srv/linaro-license-protection
ADD secrets.py /srv/secrets.py
RUN echo "*" >> /srv/allowed_hosts.txt
ENV allowed_hosts="*"
-ENV DJANGO_DEBUG="y"
+#ENV DJANGO_DEBUG="y"
RUN /srv/linaro-license-protection/manage.py migrate # Used to build the sqlite database. Temp fix as codebase needs to be updated to delete old DB calls
+RUN pip install -r /srv/linaro-license-protection/requirements.txt
+
# README
# Mount a docker "bind" mount for on-the-fly reloading
#
diff --git a/requirements.txt b/requirements.txt
index 2c5587d..489439f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-Django==1.11
+Django==1.11.20
IP2Location
beautifulsoup
boto