diff --git a/Dockerfile b/Dockerfile index 6bcbefa..aa7aa4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ARG PHP_VERSION=8.2 # Builder stage: downloads necessary files and serves them on a silver platter. -FROM php:{PHP_VERSION}-fpm AS builder +FROM php:${PHP_VERSION}-fpm AS builder ENV GENERIC_BUILD_PATH=/tmp/ncc_build WORKDIR /tmp @@ -46,7 +46,7 @@ RUN cd /tmp/ncc && make redist # Main stage: Copies build files and installs all dependencies -FROM php:{PHP_VERSION}-fpm-alpine AS production +FROM php:${PHP_VERSION}-fpm-alpine AS production # OSI labels LABEL maintainer="Netkas " diff --git a/Dockerfile.debian b/Dockerfile.debian index 7147f6e..a05133c 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -22,7 +22,7 @@ ARG PHP_VERSION=8.2 # Builder stage: downloads necessary files and serves them on a silver platter. -FROM php:{PHP_VERSION}-fpm AS builder +FROM php:${PHP_VERSION}-fpm AS builder ENV GENERIC_BUILD_PATH=/tmp/ncc_build WORKDIR /tmp @@ -46,7 +46,7 @@ RUN cd /tmp/ncc && make redist # Main stage: Copies build files and installs all dependencies -FROM php:{PHP_VERSION}-fpm AS production +FROM php:${PHP_VERSION}-fpm AS production # OSI labels LABEL maintainer="Netkas "