mirror of https://github.com/MISP/misp-docker
.env files don't pass to ARGs, so make it!
parent
735c9ba34e
commit
86104de8bd
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue