From 1fe6579bda3bc2cad08d864823abd39858be63d1 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Wed, 2 Jan 2019 17:35:42 +0200 Subject: [PATCH] Do not leave old versions of packages installed Signed-off-by: Vasilis Tsiligiannis --- Dockerfile | 4 ++-- bin/djangoctl.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9874cc8..a6a8d4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,14 +11,14 @@ COPY requirements.txt /usr/local/src/satnogs-db/ RUN pip install \ --no-cache-dir \ --no-deps \ - --ignore-installed \ + --force-reinstall \ -r /usr/local/src/satnogs-db/requirements.txt COPY . /usr/local/src/satnogs-db/ RUN pip install \ --no-cache-dir \ --no-deps \ - --ignore-installed \ + --force-reinstall \ /usr/local/src/satnogs-db RUN install -m 755 /usr/local/src/satnogs-db/bin/djangoctl.sh /usr/local/bin/ diff --git a/bin/djangoctl.sh b/bin/djangoctl.sh index 7814d3c..7841b65 100755 --- a/bin/djangoctl.sh +++ b/bin/djangoctl.sh @@ -2,7 +2,7 @@ # # SatNOGS Django control script # -# Copyright (C) 2018 Libre Space Foundation +# Copyright (C) 2018-2019 Libre Space Foundation # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -60,7 +60,7 @@ install_editable() { pip install \ --no-cache-dir \ --no-deps \ - --ignore-installed \ + --force-reinstall \ -e "${1}" }