rough-vase-83553
11/14/2022, 7:57 PMdocker_image
rule? I have a use case of running Docker on a git submodule but I'm trying to avoid modifying the code in that submodule. So my setup is in the parent directory of the submodule and looks like
docker_image(
name="prom-aggregation-gateway",
source="feat-configurable-gauge-agg/cmd/prom-aggregation-gateway/Dockerfile",
dependencies=[
":submodule"
]
)
files(
name = "submodule",
sources = ["./feat-configurable-gauge-agg/**"]
)
Unfortunately, the Docker build isn't able to find /prom-aggregation-gateway
FROM alpine:3.10
COPY prom-aggregation-gateway /
ENTRYPOINT ["/prom-aggregation-gateway"]
rough-vase-83553
11/14/2022, 7:58 PMrough-vase-83553
11/14/2022, 8:01 PM