aboo
aboo
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
When running bluebuild build ./recipes/recipe.yml locally, I get the following error:
l/morrigan:latest => 0.075 /tmp/scripts/exports.sh: line 48: awk: command not found
l/morrigan:latest => 0.078 /tmp/scripts/run_module.sh: line 55: jq: command not found
l/morrigan:latest => ------
l/morrigan:latest => Containerfile:49
l/morrigan:latest => --------------------
l/morrigan:latest => 48 | # Module RUNs
l/morrigan:latest => 49 | >>> RUN \
l/morrigan:latest => 50 | >>> --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw \
l/morrigan:latest => 51 | >>> --mount=type=bind,from=ghcr.io/blue-build/modules/script:latest,src=/modules,dst=/tmp/modules,rw \
l/morrigan:latest => 52 | >>> --mount=type=bind,from=ghcr.io/blue-build/cli/build-scripts:v0.9.10,src=/scripts/,dst=/tmp/scripts/ \
l/morrigan:latest => 53 | >>> /tmp/scripts/run_module.sh 'script' '{"type":"script","scripts":["installdock.sh"]}'
l/morrigan:latest => 54 |
l/morrigan:latest => --------------------
l/morrigan:latest => ERROR: failed to solve: process "bash -c /tmp/scripts/run_module.sh 'script' '{\"type\":\"script\",\"scripts\":[\"installdock.sh\"]}'" did not complete successfully: exit code: 127
l/morrigan:latest => 0.075 /tmp/scripts/exports.sh: line 48: awk: command not found
l/morrigan:latest => 0.078 /tmp/scripts/run_module.sh: line 55: jq: command not found
l/morrigan:latest => ------
l/morrigan:latest => Containerfile:49
l/morrigan:latest => --------------------
l/morrigan:latest => 48 | # Module RUNs
l/morrigan:latest => 49 | >>> RUN \
l/morrigan:latest => 50 | >>> --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw \
l/morrigan:latest => 51 | >>> --mount=type=bind,from=ghcr.io/blue-build/modules/script:latest,src=/modules,dst=/tmp/modules,rw \
l/morrigan:latest => 52 | >>> --mount=type=bind,from=ghcr.io/blue-build/cli/build-scripts:v0.9.10,src=/scripts/,dst=/tmp/scripts/ \
l/morrigan:latest => 53 | >>> /tmp/scripts/run_module.sh 'script' '{"type":"script","scripts":["installdock.sh"]}'
l/morrigan:latest => 54 |
l/morrigan:latest => --------------------
l/morrigan:latest => ERROR: failed to solve: process "bash -c /tmp/scripts/run_module.sh 'script' '{\"type\":\"script\",\"scripts\":[\"installdock.sh\"]}'" did not complete successfully: exit code: 127
My CI build fails for the same reason: https://github.com/AbooMinister25/morrigan/actions/runs/14477719246/job/40607276868. It had just worked a few moments ago when I ran the build, but when I try to run the build again (without anything changing), it seems to have broken. Any idea why?
19 replies