Do not leave old versions of packages installed
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/314/head
parent
ba4cdd7d60
commit
1fe6579bda
|
@ -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/
|
||||||
|
|
||||||
|
|
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue