From ed046e5d7effc0d2ff72e284f059f17c9e7d0820 Mon Sep 17 00:00:00 2001 From: Ruben Momoa Date: Thu, 22 Aug 2024 16:03:46 +0200 Subject: [PATCH] dynamic FROM test --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b36263..2a5365f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ ARG PHP_VERSION -RUN echo ${PHP_VERSION}; +FROM php:latest + +RUN echo PHP_VERSION; RUN echo $PHP_VERSION; - -FROM ${PHP_VERSION} - -ENV NVM_DIR="/root/.nvm" +RUN echo ${PHP_VERSION}; # port to for the webserver ENV WEBSERVER_PORT=8080