forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Ubuntu to 24.04 (Noble) (antrea-io#6575)
Upgrade to ubuntu:24.04 in most places (except for a few build / test images which will be updated later on). In particular ubuntu:24.04 is now the base image for antrea/antrea-agent-ubuntu and antrea/controller-ubuntu. In order for our current version of OVS (2.17.7) to build correctly on Ubuntu 24.04, some "recent" patches have to be applied manually. After this change, the antrea/antrea-agent-ubuntu image is slightly bigger (344MB -> 372MB uncompressed), and the size increase seems to be driven by some systemd libraries. Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
22fa582
commit 1e55900
Showing
17 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ RUN make antctl-instr-binary | |
|
||
RUN make antrea-controller-instr-binary | ||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The Docker image to deploy the antrea-controller with code coverage measurement enabled (used for testing)." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,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 ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The Docker image to deploy the antrea-controller." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The Docker image to migrate other CNIs to Antrea CNI." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The development Docker image to deploy the antrea-controller." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ COPY . /antrea | |
RUN make antrea-agent-simulator | ||
|
||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The Docker image to deploy the Antrea simulator." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \ | |
make flow-aggregator | ||
|
||
# Chose this base image so that a shell is available for users to exec into the container, run antctl and run tools like pprof easily | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The docker image for the flow aggregator" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ RUN make antctl-instr-binary | |
|
||
RUN make flow-aggregator-instr-binary | ||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The docker image for the flow aggregator with code coverage measurement enabled for testing purposes." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM ubuntu:22.04 AS ovs-debs | ||
FROM ubuntu:24.04 AS ovs-debs | ||
|
||
# Some patches may not apply cleanly if a non-default version is provided. | ||
# See build/images/deps/ovs-version for the default version. | ||
|
@@ -39,10 +39,10 @@ RUN wget -q -O - https://www.openvswitch.org/releases/openvswitch-$OVS_VERSION.t | |
cd / && rm -rf /tmp/openvswitch* | ||
|
||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="A Docker image based on Ubuntu 22.04 which includes Open vSwitch built from source." | ||
LABEL description="A Docker image based on Ubuntu 24.04 which includes Open vSwitch built from source." | ||
|
||
COPY --from=ovs-debs /tmp/ovs-debs/* /tmp/ovs-debs/ | ||
COPY charon-logging.conf /tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ COPY . /antrea | |
|
||
RUN cd multicluster && make antrea-mc-instr-binary | ||
|
||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
|
||
LABEL maintainer="Antrea <[email protected]>" | ||
LABEL description="The Docker image to deploy the Antrea Multi-cluster Controller with code coverage measurement enabled (used for testing)." | ||
|