Commit 71f51830 authored by jurges's avatar jurges

ROHD-2434: Add another ARG LOFAR_BASE_IMAGE_VERSION

When a build-arg is used in athe FROM statement it kind of gets
swallowed by Docker.  In order to have access to it one has to add
another ARG statement after the FROM.
parent 8945a2e1
......@@ -5,6 +5,8 @@
# Allow to specify a specific base image version.
ARG LOFAR_BASE_IMAGE_VERSION=latest
FROM lofar-base:${LOFAR_BASE_IMAGE_VERSION}
# Docker mandates that this has to be done again
ARG LOFAR_BASE_IMAGE_VERSION=latest
ENV LOFAR_BASE_IMAGE_VERSION=${LOFAR_BASE_IMAGE_VERSION}
# Add build date to the environment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment