fix: COPY yq for final image for modules to work

This commit is contained in:
Gerald Pinder 2024-02-26 09:21:54 -05:00
parent 1978339993
commit fd94962ff5
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,6 @@
RUN \
--mount=type=tmpfs,target=/tmp \
--mount=type=tmpfs,target=/var \
--mount=type=bind,from=docker.io/mikefarah/yq,src=/usr/bin/yq,dst=/usr/bin/yq \
--mount=type=bind,from=stage-config,src=/config,dst=/tmp/config,rw \
{%- if let Some(source) = module.source %}
--mount=type=bind,from={{ source }},src=/modules,dst=/tmp/modules,rw \