Mercurial > libervia-backend
changeset 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 | d5fd630b57bb |
children | 1680eec4cbfd |
files | docker/backend-dev-e2e/Dockerfile docker/libervia-web-dev-demo/Dockerfile docker/libervia-web-dev-e2e/Dockerfile |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/backend-dev-e2e/Dockerfile Wed Oct 20 17:19:57 2021 +0200 +++ b/docker/backend-dev-e2e/Dockerfile Wed Oct 20 17:21:54 2021 +0200 @@ -1,5 +1,5 @@ -ARG REVISION=dev -FROM libervia/backend:${REVISION} +ARG REVISION +FROM libervia/backend:${REVISION:-dev} LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
--- 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>"
--- a/docker/libervia-web-dev-e2e/Dockerfile Wed Oct 20 17:19:57 2021 +0200 +++ b/docker/libervia-web-dev-e2e/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>"