Skip to content

Commit

Permalink
feat(build): Add argument to Dockerfile to allow building from a spec…
Browse files Browse the repository at this point in the history
…ific tag of the build environment
  • Loading branch information
abensonca committed Aug 20, 2021
1 parent 561d379 commit 5aa2797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 5aa2797

Please sign in to comment.