Skip to content
Snippets Groups Projects
Commit 71f51830 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

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
No related branches found
No related tags found
1 merge request!138Lofar release 4 0
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment