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:
|
misp:
|
||||||
image: coolacid/docker-misp:core-latest
|
image: coolacid/docker-misp:core-latest
|
||||||
build: server/.
|
build:
|
||||||
|
context: server/.
|
||||||
|
args:
|
||||||
|
- MISP_TAG=${MISP_TAG}
|
||||||
|
- PHP_VER=${PHP_VER}
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- db
|
- db
|
||||||
|
@ -36,7 +40,10 @@ services:
|
||||||
|
|
||||||
misp-modules:
|
misp-modules:
|
||||||
image: coolacid/docker-misp:modules-latest
|
image: coolacid/docker-misp:modules-latest
|
||||||
build: modules/.
|
build:
|
||||||
|
context: modules/.
|
||||||
|
args:
|
||||||
|
- MISP_TAG=${MISP_TAG}
|
||||||
environment:
|
environment:
|
||||||
- "REDIS_BACKEND=redis"
|
- "REDIS_BACKEND=redis"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
FROM python:3.7-slim-buster as builder
|
FROM python:3.7-slim-buster as builder
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
ARG MISP_TAG
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
git \
|
git \
|
||||||
|
|
Loading…
Reference in New Issue