From 5aa27972679b6ddbea66369d54c195d6b4842862 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 20 Aug 2021 08:53:55 -0700 Subject: [PATCH] feat(build): Add argument to Dockerfile to allow building from a specific tag of the build environment --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f39cd2e3f..cf318aa421 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # Galacticus Docker image # Uses Docker multi-stage build to build Galacticus. -FROM galacticusorg/buildenv:latest as build +ARG tag=latest +FROM galacticusorg/buildenv:$tag as build # Set build options. ## * The flags are also set in galacticus/buildenv:latest so we don't really need to reset them here.