.env files don't pass to ARGs, so make it!

pull/1/head
Jason Kendall 2020-01-30 09:45:34 -05:00
parent 735c9ba34e
commit 86104de8bd
2 changed files with 10 additions and 2 deletions

View File

@ -15,7 +15,11 @@ services:
misp:
image: coolacid/docker-misp:core-latest
build: server/.
build:
context: server/.
args:
- MISP_TAG=${MISP_TAG}
- PHP_VER=${PHP_VER}
depends_on:
- redis
- db
@ -36,7 +40,10 @@ services:
misp-modules:
image: coolacid/docker-misp:modules-latest
build: modules/.
build:
context: modules/.
args:
- MISP_TAG=${MISP_TAG}
environment:
- "REDIS_BACKEND=redis"
depends_on:

View File

@ -1,5 +1,6 @@
FROM python:3.7-slim-buster as builder
ENV DEBIAN_FRONTEND noninteractive
ARG MISP_TAG
RUN apt-get update && apt-get install -y --no-install-recommends \
git \