skip to Main Content

How to use rules_oci to run an image local via Docker?

I want to use rules_oci to build a (docker) image that I can run locally as a container. Here is my try: WORKSPACE.bazel: load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") #------------------------------------------------------- # rules_oci #------------------------------------------------------- http_archive( name = "rules_oci", sha256 = "176e601d21d1151efd88b6b027a24e782493c5d623d8c6211c7767f306d655c8", strip_prefix = "rules_oci-1.2.0", url…

VIEW QUESTION

Build mediapipe on Linux (Ubuntu 22.04)

I'm trying to build MediaPipe from source with Bazel on Linux ubuntu 22.04. here are the full steps ive done so far: git clone https://github.com/google/mediapipe.git cd mediapipe bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/desktop/holistic_tracking:holistic_tracking_cpu but it's always failing with the…

VIEW QUESTION

Erlang Hello World using Bazel as a build system – Ubuntu

I want to build an Erlang hello world example using rules_erlang on Ubuntu 22.04. My setup looks like this: BUILD.bazel load("@rules_erlang//:erlang_app.bzl", "erlang_app", "test_erlang_app") load("@rules_erlang//:xref.bzl", "xref") load("@rules_erlang//:dialyze.bzl", "dialyze", "plt") load("@rules_erlang//:ct.bzl", "ct_suite", "assert_suites") APP_NAME = "hello_world" APP_VERSION = "0.1.0" erlang_app( app_name =…

VIEW QUESTION
Back To Top
Search