フラミナル

考え方や調べたことを書き殴ります。IT技術系記事多め

bazel

【Bazel】コンテナイメージのPushをまとめて行う方法

Bazelでコンテナイメージを作成しPushする際に、まとめてPushする方法です。 distroless/BUILD at main · GoogleContainerTools/distroless · GitHub を参考にしました。 事前準備 git clone https://github.com/bazelbuild/examples cd examples/cpp-tutori…

ARMでIntel(x86-64)のBazelやBazeliskを使用する

BazelやBazeliskを利用してクロスコンパイル環境を用意するケースにて、M1 Macがなかなか厄介です。多くのRuleがM1 Macに対応していないことが多いので結構な確率で処理に失敗します。 そこで対策としてx86−64のBazelを導入することで回避しようというわけで…

【手順】CentOS7にgRPC CLI toolをインストールする方法

手順 yum -y install epel-release gcc-c++ gflags-develbin git git clone https://github.com/grpc/grpc cd grpc git submodule update --init make grpc_cli これで./bins/opt/grpc_cliにインストールされました。

bazelをCentOS7にyumでinstallする方法

/etc/yum.repos.d/fedora.repoを作成する [copr:copr.fedorainfracloud.org:vbatts:bazel] name=Copr repo for bazel owned by vbatts baseurl=https://download.copr.fedorainfracloud.org/results/vbatts/bazel/epel-7-$basearch/ type=rpm-md skip_if_una…