Skip to content

Commit 4ed93bf

Browse files
authored
fix bbr dockerfile that was broken in PR kubernetes-sigs#664 (kubernetes-sigs#669)
* fixed dockerfile of bbr that was broken in PR kubernetes-sigs#664 Signed-off-by: Nir Rozenbaum <[email protected]> * code review Signed-off-by: Nir Rozenbaum <[email protected]> * makefile Signed-off-by: Nir Rozenbaum <[email protected]> --------- Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent e71fd92 commit 4ed93bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ bbr-image-local-load: bbr-image-local-build
232232

233233
.PHONY: bbr-image-build
234234
bbr-image-build: ## Build the image using Docker Buildx.
235-
$(IMAGE_BUILD_CMD) -f body-based-routing.Dockerfile -t $(BBR_IMAGE_TAG) \
235+
$(IMAGE_BUILD_CMD) -f bbr.Dockerfile -t $(BBR_IMAGE_TAG) \
236236
--platform=$(PLATFORMS) \
237237
--build-arg BASE_IMAGE=$(BASE_IMAGE) \
238238
--build-arg BUILDER_IMAGE=$(BUILDER_IMAGE) \

body-based-routing.Dockerfile renamed to bbr.Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ RUN go mod download
1818
COPY cmd ./cmd
1919
COPY pkg ./pkg
2020
COPY internal ./internal
21-
WORKDIR /src/cmd/body-based-routing
22-
RUN go build -o /body-based-routing
21+
WORKDIR /src/cmd/bbr
22+
RUN go build -o /bbr
2323

2424
## Multistage deploy
2525
FROM ${BASE_IMAGE}
2626

2727
WORKDIR /
28-
COPY --from=builder /body-based-routing /body-based-routing
28+
COPY --from=builder /bbr /bbr
2929

30-
ENTRYPOINT ["/body-based-routing"]
30+
ENTRYPOINT ["/bbr"]

0 commit comments

Comments
 (0)