From 6bca6f5c5e80351927969465007e2e3a9d54890a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 30 Apr 2024 14:07:09 -0400 Subject: [PATCH] Add some demo options for instructions -- the problem is that it is for the "RUN" not for the FROM --- neurodocker/templates/gentoo.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/neurodocker/templates/gentoo.yaml b/neurodocker/templates/gentoo.yaml index f72ed953..035fe8a0 100644 --- a/neurodocker/templates/gentoo.yaml +++ b/neurodocker/templates/gentoo.yaml @@ -9,9 +9,13 @@ binaries: # which are currently under gentoo-portage/ config files. urls: something: not-used + arguments: + optional: + portage_image_version: "20240324" + stage3_image_version: "20240318" instructions: | - FROM docker.io/gentoo/portage:20240324 as portage - FROM docker.io/gentoo/stage3:20240318 + FROM docker.io/gentoo/portage:{{ self.portage_image_version }} as portage + FROM docker.io/gentoo/stage3:{{ self.stage3_image_version }} # copy the entire portage volume in COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo RUN emerge -v --noreplace dev-vcs/git