mirror of
https://github.com/valitydev/docker-misp.git
synced 2024-11-06 16:55:21 +00:00
Move Build Args into .env
This commit is contained in:
parent
d13daa6f2d
commit
07e5ef035d
@ -1,6 +1,5 @@
|
|||||||
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 VERSION=2.4.120
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
git \
|
git \
|
||||||
@ -15,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
|
|
||||||
# Build MISP Modules
|
# Build MISP Modules
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
RUN git clone --branch v${VERSION} --depth 1 https://github.com/MISP/misp-modules.git
|
RUN git clone --branch v${MISP_TAG} --depth 1 https://github.com/MISP/misp-modules.git
|
||||||
RUN mkdir /wheel
|
RUN mkdir /wheel
|
||||||
WORKDIR /srv/misp-modules
|
WORKDIR /srv/misp-modules
|
||||||
RUN sed -i 's/-e //g' REQUIREMENTS
|
RUN sed -i 's/-e //g' REQUIREMENTS
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
ARG MISP_TAG=2.4.120
|
|
||||||
ARG PHP_VER=20180731
|
|
||||||
|
|
||||||
FROM composer as composer-build
|
FROM composer as composer-build
|
||||||
ARG MISP_TAG
|
ARG MISP_TAG
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user