Open juanzolotoochin opened 9 months ago
!#!/usr/bin/env sh
Erm.. that's wrong.
Looking at: https://github.com/chainguard-dev/rules_apko/blame/main/apko/private/apko_run.bzl#L29 I assume it's fixed.
Shebangs #!#!
should be fixed as well (but it should cause the functional problems afaiu).
I'm trying to get started with
rules_apko
and I'm failing to produce theapko.lock.json
file. I have this, which I've copied from the examples:Then to generate the lock file I run:
IDK what I may be doing wrong. I can work around this by running:
bazel run @apko_linux_amd64//:apko -- lock $PWD/bazel/apko/base_images/wolfi/apko.yaml
I suspect there's something wrong with the shell wrapper: