mirror of https://github.com/MISP/misp-docker
Move full MISP branch to MISP_TAG arg
parent
674dd65739
commit
8a37160fc3
|
@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
|
||||
# Build MISP Modules
|
||||
WORKDIR /srv
|
||||
RUN git clone --branch v${MISP_TAG} --depth 1 https://github.com/MISP/misp-modules.git
|
||||
RUN git clone --branch ${MISP_TAG} --depth 1 https://github.com/MISP/misp-modules.git
|
||||
RUN mkdir /wheel
|
||||
WORKDIR /srv/misp-modules
|
||||
RUN sed -i 's/-e //g' REQUIREMENTS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM composer:1.9 as composer-build
|
||||
ARG MISP_TAG
|
||||
WORKDIR /tmp
|
||||
ADD https://raw.githubusercontent.com/MISP/MISP/v${MISP_TAG}/app/composer.json /tmp
|
||||
ADD https://raw.githubusercontent.com/MISP/MISP/${MISP_TAG}/app/composer.json /tmp
|
||||
RUN composer install --ignore-platform-reqs
|
||||
|
||||
FROM debian:buster-slim as php-build
|
||||
|
@ -95,7 +95,7 @@ ARG PHP_VER
|
|||
|
||||
# MISP code
|
||||
# Download MISP using git in the /var/www/ directory.
|
||||
RUN git clone --branch v${MISP_TAG} --depth 1 https://github.com/MISP/MISP.git /var/www/MISP; \
|
||||
RUN git clone --branch ${MISP_TAG} --depth 1 https://github.com/MISP/MISP.git /var/www/MISP; \
|
||||
# We build the MISP modules outside, so we don't need to grab those submodules
|
||||
cd /var/www/MISP/app || exit; git submodule update --init --recursive .;
|
||||
|
||||
|
|
Loading…
Reference in New Issue