Move versions and make them 'global'

pull/1/head
Jason Kendall 2019-12-11 09:31:09 -05:00
parent a36ebe8f7d
commit bb482ddebf
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
ARG MISP_TAG=2.4.118
ARG PHP_VER=20180731
FROM composer as composer-build
ARG MISP_TAG
WORKDIR /tmp
ADD https://raw.githubusercontent.com/MISP/MISP/v2.4.118/app/composer.json /tmp
ADD https://raw.githubusercontent.com/MISP/MISP/v${MISP_TAG}/app/composer.json /tmp
RUN composer install --ignore-platform-reqs
FROM debian:buster-slim as php-build
@ -60,8 +64,8 @@ FROM debian:buster-slim as python-build
FROM debian:buster-slim
ENV DEBIAN_FRONTEND noninteractive
ARG MISP_TAG=2.4.118
ARG PHP_VER=20180731
ARG MISP_TAG
ARG PHP_VER
# OS Packages
RUN apt-get update; apt-get install -y --no-install-recommends \