Skip to content

Commit

Permalink
Fix base image for antrea/antrea-controller-ubi (#6260)
Browse files Browse the repository at this point in the history
The image was incorrectly using ubuntu:22.04 as the base image instead
of registry.access.redhat.com/ubi8. This issue must have been present
since introducing split images for the Agent and Controller in v1.15.0.

Credit goes to @xliuxu for finding this issue.

Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas authored Apr 26, 2024
1 parent e9e70ec commit 863557d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/images/Dockerfile.build.controller.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
--mount=type=cache,target=/root/.cache/go-build/ \
make antrea-controller

FROM ubuntu:22.04
FROM registry.access.redhat.com/ubi8

LABEL maintainer="Antrea <[email protected]>"
LABEL description="The Docker image to deploy the antrea-controller."
Expand Down
2 changes: 1 addition & 1 deletion hack/build-antrea-linux-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ case $key in
;;
--skip-unified-image)
UNIFIED=false
shift 2
shift
;;
-h|--help)
print_usage
Expand Down

0 comments on commit 863557d

Please sign in to comment.