Skip to content

Commit

Permalink
Add some demo options for instructions -- the problem is that it is f…
Browse files Browse the repository at this point in the history
…or the "RUN" not for the FROM
  • Loading branch information
yarikoptic committed Apr 30, 2024
1 parent 39b79fc commit 6bca6f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions neurodocker/templates/gentoo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bca6f5

Please sign in to comment.