diff docker/libervia-web-dev-demo/Dockerfile @ 3689:f25442794e11

docker: fix use of `REVISION` in `FROM` instruction
author Goffi <goffi@goffi.org>
date Wed, 20 Oct 2021 17:21:54 +0200
parents 0ffaa231138c
children
line wrap: on
line diff
--- a/docker/libervia-web-dev-demo/Dockerfile	Wed Oct 20 17:19:57 2021 +0200
+++ b/docker/libervia-web-dev-demo/Dockerfile	Wed Oct 20 17:21:54 2021 +0200
@@ -1,5 +1,5 @@
-ARG REVISION=dev
-FROM libervia/web:${REVISION}
+ARG REVISION
+FROM libervia/web:${REVISION:-dev}
 
 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"