allow building ml_metadata_store_server image on ARM64
#188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


This PR updates the Dockerfile and other things to allow the
gcr.io/tfx-oss-public/ml_metadata_store_serverto be built for alinux/arm64target.This is important for Kubeflow Pipelines, and thus deployKF (a tool for deploying Kubeflow).
The changes are:
ml_metadata/tools/docker_server/Dockerfileto use Bazelisk (this was the easiest way to download the ARM64 version of Bazel 5.3.0).bazelversionin the repo root (Bazelisk expects it to be there)./ml_metadata/.bazelversion(this breaks Bazelisk)ml_metadata/postgresql.BUILDdirectly the same as upstreamtensorflow/iocommita1171cdd20e658ef3f1a8b3bf66dd4e228ceae30(to remove X86-specific stuff)Next Steps:
ml_metadata/postgresql.BUILDdid not cause a regression.amd64ANDarm64versions ofgcr.io/tfx-oss-public/ml_metadata_store_server