1
0
Fork 0

Do not leave old versions of packages installed

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/314/head
Vasilis Tsiligiannis 2019-01-02 17:35:42 +02:00
parent ba4cdd7d60
commit 1fe6579bda
2 changed files with 4 additions and 4 deletions

View File

@ -11,14 +11,14 @@ COPY requirements.txt /usr/local/src/satnogs-db/
RUN pip install \ RUN pip install \
--no-cache-dir \ --no-cache-dir \
--no-deps \ --no-deps \
--ignore-installed \ --force-reinstall \
-r /usr/local/src/satnogs-db/requirements.txt -r /usr/local/src/satnogs-db/requirements.txt
COPY . /usr/local/src/satnogs-db/ COPY . /usr/local/src/satnogs-db/
RUN pip install \ RUN pip install \
--no-cache-dir \ --no-cache-dir \
--no-deps \ --no-deps \
--ignore-installed \ --force-reinstall \
/usr/local/src/satnogs-db /usr/local/src/satnogs-db
RUN install -m 755 /usr/local/src/satnogs-db/bin/djangoctl.sh /usr/local/bin/ RUN install -m 755 /usr/local/src/satnogs-db/bin/djangoctl.sh /usr/local/bin/

View File

@ -2,7 +2,7 @@
# #
# SatNOGS Django control script # SatNOGS Django control script
# #
# Copyright (C) 2018 Libre Space Foundation <https://libre.space/> # Copyright (C) 2018-2019 Libre Space Foundation <https://libre.space/>
# #
# This program is free software: you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -60,7 +60,7 @@ install_editable() {
pip install \ pip install \
--no-cache-dir \ --no-cache-dir \
--no-deps \ --no-deps \
--ignore-installed \ --force-reinstall \
-e "${1}" -e "${1}"
} }