Skip to content

value set via BAZEL_REMOTE_HTTP_ADDRESS cannot be applied.  #736

@zaka634

Description

@zaka634

Set BAZEL_REMOTE_HTTP_ADDRESS to : 0.0.0.0:8888 on k8s yaml file for the docker image published on docker hub, version is v2.4.3

but when running the container, the log is still saying started the server on 8080, and port 8888 is never opened, debug through the code, I think this config :
https://github.com/buchgr/bazel-remote/blob/master/BUILD.bazel#L118

caused the port to be hard-coded so that it did not respect the value set for BAZEL_REMOTE_HTTP_ADDRESS. I compiled another image once removed the hard-coded value from oci_image, it just works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions