Commit 38408827 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Make the PHP version use a build arg, default latest

parent 6e56ecf5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,7 +7,8 @@ COPY data/nginx.conf /etc/nginx/conf.d/default.conf
COPY data/5*.html /app/html/


FROM php:7.3-fpm-alpine as deps
ARG php_version=
FROM php:${php_version:+$php_version-}fpm-alpine as deps
RUN --mount=type=bind,source=scripts/install-deps.sh,target=/stage /stage

FROM deps as compile