Skip to content

Issue on docs #513

@skywalker-lt

Description

@skywalker-lt

Path: /tutorials/pods/build-docker-images

Problem

The example repository build-docker-in-runpod failed to build with current Bazel versions.

Bazel 9.0.0 incompatibility

Now Bazelisk downloads 9.0.0 by default which has commands and dependencies incompatible with the example. It rises:

ERROR: No repository visible as '@rules_oci' from main repository

Outdated rules_oci version

The ./WORKSPACE file uses rules_oci-2.0.0-alpha2, which is a outdated one

What to do to fix it

  1. Add a .bazelversion file to the example specifying a compatible version (I used 6.4.0 and it worked)

  2. update rules_oci to a stable release (e.g., v2.0.1) with correct sha256

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions