oci-build/Dockerfile (new file) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "long-msp-30"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The old approach used imperative buildah commands (buildah from → buildah run → buildah copy → buildah mount
to extract). The Docker equivalent is a two-stage Dockerfile:
caching, compiles dependencies with a dummy main.rs, then compiles the real source
oci-build/build.nu (rewritten)
--build-arg ... --output type=local,dest=$dist_dir --target artifact --file $dockerfile $project_root
needed)
to work around user namespace restrictions that don't apply to Docker BuildKit
.forgejo/workflows/build-oci-image.yml — comment updated only; the workflow invocation (cd oci-build &&
./build.nu) is unchanged
buildah-wrapper.nu — left untouched; it's no longer called but removing it is a separate decision