Skip to content

Commit 1c069ef

Browse files
oilbeaterclaude
andcommitted
fix(build): pin OVN to specific commit for reproducible builds (#6335)
Clone with depth=10 and checkout a specific commit to ensure reproducible builds and avoid picking up unexpected changes from the branch-24.03 branch tip. Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d5f3717 commit 1c069ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist/images/Dockerfile.base

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ RUN cd /usr/src/ && \
6161
# update ovs-sandbox for docker run
6262
git apply $SRC_DIR/54b767822916606dbb78335a3197983f435b5b8a.patch
6363

64-
RUN cd /usr/src/ && git clone -b branch-24.03 --depth=1 https://github.com/ovn-org/ovn.git && \
64+
RUN cd /usr/src/ && git clone -b branch-24.03 --depth=10 https://github.com/ovn-org/ovn.git && \
6565
cd ovn && \
66+
git checkout ef8f5c1ac63e8094eaf13507013e310991db45a2 && \
6667
# change hash type from dp_hash to hash with field src_ip
6768
git apply $SRC_DIR/e490f5ac0b644101913c2a3db8e03d85e859deff.patch && \
6869
# modify src route priority

0 commit comments

Comments
 (0)