This commit is contained in:
parent
b9ef918d4c
commit
482b648aed
@ -1,9 +1,13 @@
|
|||||||
|
# Stage 1: Build Nginx
|
||||||
|
FROM alpine:3.20.3 AS builder
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
ARG NGINX_VERSION="1.27.1"
|
ARG NGINX_VERSION="1.27.1"
|
||||||
ARG PHP_VERSION="8.3"
|
ARG PHP_VERSION="8.3"
|
||||||
|
|
||||||
# Stage 1: Build Nginx
|
# Print versions
|
||||||
FROM alpine:3.20.3 AS builder
|
RUN echo "NGINX_VERSION=${NGINX_VERSION}"
|
||||||
|
RUN echo "PHP_VERSION=${PHP_VERSION}"
|
||||||
|
|
||||||
# Install build dependencies and required tools
|
# Install build dependencies and required tools
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk update && apk upgrade && \
|
||||||
|
Loading…
Reference in New Issue
Block a user