Skip to content

Commit 182ce19

Browse files
committed
Revert "fix dpdk base tag (#5211)"
This reverts commit 325a42c.
1 parent 325a42c commit 182ce19

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.trivyignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CVE-2023-2253
2+
CVE-2024-10220
3+
CVE-2025-0426

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ build-kube-ovn: build-go
5252
docker build -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG) --build-arg VERSION=$(RELEASE_TAG) -f dist/images/Dockerfile dist/images/
5353
docker build -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 --build-arg BASE_TAG=$(RELEASE_TAG)-no-avx512 -f dist/images/Dockerfile dist/images/
5454
docker build -t $(REGISTRY)/kube-ovn:$(DEBUG_TAG) --build-arg BASE_TAG=$(DEBUG_TAG) -f dist/images/Dockerfile dist/images/
55-
docker build -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-dpdk --build-arg VERSION=$(RELEASE_TAG) -f dist/images/Dockerfile.dpdk dist/images/
55+
docker build -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-dpdk -f dist/images/Dockerfile.dpdk dist/images/
5656

5757
.PHONY: build-dev
5858
build-dev: build-go
@@ -86,7 +86,7 @@ image-kube-ovn: build-go
8686
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG) --build-arg VERSION=$(RELEASE_TAG) -o type=docker -f dist/images/Dockerfile dist/images/
8787
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-no-avx512 --build-arg BASE_TAG=$(RELEASE_TAG)-no-avx512 -o type=docker -f dist/images/Dockerfile dist/images/
8888
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(DEBUG_TAG) --build-arg BASE_TAG=$(DEBUG_TAG) -o type=docker -f dist/images/Dockerfile dist/images/
89-
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-dpdk --build-arg VERSION=$(RELEASE_TAG) -o type=docker -f dist/images/Dockerfile.dpdk dist/images/
89+
docker buildx build --platform linux/amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG)-dpdk -o type=docker -f dist/images/Dockerfile.dpdk dist/images/
9090

9191
.PHONY: image-vpc-nat-gateway
9292
image-vpc-nat-gateway:

dist/images/Dockerfile.base-dpdk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN cd /usr/src/ && \
3636
git apply $SRC_DIR/22ea22c40b46ee5adeae977ff6cfca81b3ff25d7.patch && \
3737
git apply $SRC_DIR/a432b1eb496cc1606873068c26716977a02029e2.patch && \
3838
# compile without avx512
39-
if [ "$ARCH" = "amd64" -a "$NO_AVX512" = "true" ]; then git apply $SRC_DIR/f61283c8934589fe6de2b1e86041204dfc31a3e3.patch; fi && \
39+
if [ "$ARCH" = "amd64" -a "$NO_AVX512" = "true" ]; then git apply $SRC_DIR/38c59e078d69b343f56ab0f380fb9f42b94b7c02.patch; fi && \
4040
./boot.sh && \
4141
rm -rf .git && \
4242
export DPDK_DIR=/usr/src/dpdk-stable-20.11.1 && \

dist/images/Dockerfile.dpdk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# syntax = docker/dockerfile:experimental
2-
ARG VERSION
3-
ARG BASE_TAG=$VERSION
4-
FROM kubeovn/kube-ovn-base:$BASE_TAG-dpdk
2+
FROM kubeovn/kube-ovn-base:v1.11.0-dpdk
53

64
COPY *.sh /kube-ovn/
75
COPY kubectl-ko /kube-ovn/kubectl-ko

0 commit comments

Comments
 (0)