1
0
Fork 0

Invalidate Docker cache by setting argument

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
spacecruft
Vasilis Tsiligiannis 2020-11-04 10:43:26 +02:00
parent 6680a7fe12
commit 1f2dc4b75f
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ RUN groupadd -r satnogs \
&& install -d -m 755 -o satnogs -g satnogs /var/run/celery && install -d -m 755 -o satnogs -g satnogs /var/run/celery
COPY requirements.txt /usr/local/src/satnogs-db/ COPY requirements.txt /usr/local/src/satnogs-db/
ARG SATNOGS_DECODERS_VERSION
RUN pip install \ RUN pip install \
--no-cache-dir \ --no-cache-dir \
--no-deps \ --no-deps \

View File

@ -20,6 +20,8 @@ services:
celery: celery:
build: build:
context: '.' context: '.'
args:
SATNOGS_DECODERS_VERSION: '$SATNOGS_DECODERS_VERSION'
depends_on: depends_on:
- 'db' - 'db'
- 'redis' - 'redis'
@ -41,6 +43,8 @@ services:
web: web:
build: build:
context: '.' context: '.'
args:
SATNOGS_DECODERS_VERSION: '$SATNOGS_DECODERS_VERSION'
image: 'satnogs-db' image: 'satnogs-db'
ports: ports:
- '8000:8000' - '8000:8000'