GithubHelp home page GithubHelp logo

flolu / rules_oci-debian Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10 KB

Minimal repro for a rules_oci debian error

Starlark 99.59% TypeScript 0.41%
bazel nodejs rules-js rules-ts typesript rules-oci

rules_oci-debian's Introduction

Requirements

  • Linux or macOS
  • Node.js
  • Docker
  • pnpm*
  • Bazelisk*
  • Buildifier*

Usage

pnpm i
bazel build //app:image_tar
docker load --input $(bazel cquery --output=files //app:image_tar)
docker run -t rules_oci_debian_repro:latest

Error on Fedora Linux

While building the Docker image

ERROR: /home/flolu/.cache/bazel/_bazel_flolu/7cbadce41d07a7c855512872c500f8e2/external/debian/BUILD.bazel:1:6: @debian//:debian depends on @debian_linux_amd64//:debian_linux_amd64 in repository @debian_linux_amd64 which failed to fetch. no such package '@debian_linux_amd64//': too many values to unpack (got 3, want 2)

or

ERROR: /home/flolu/.cache/bazel/_bazel_flolu/3af270419fb798df87446cdc0a5f5c5f/external/debian/BUILD.bazel:1:6: @debian//:debian depends on @debian_linux_amd64//:debian_linux_amd64 in repository @debian_linux_amd64 which failed to fetch. no such package '@debian_linux_amd64//': key "auths" not found in dictionary

Error on macOS

While running the Docker image

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

But it works fine with the pull.bzl helper!

rules_oci-debian's People

Contributors

flolu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.