Skip to content

Commit ce4be43

Browse files
committed
docker: Remove unused fork handling in Containerfile
Removed the git remote and fetch commands related to the fork repository to streamline the cloning process and reduce complexity. Signed-off-by: Chiho Sin <[email protected]>
1 parent afdc50d commit ce4be43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ RUN git config --global --add safe.directory /workspace \
2323
&& git config --global protocol.file.allow always \
2424
&& git clone --depth 1 --filter=tree:0 "${BUILD_REPO}" /workspace \
2525
&& cd /workspace && git checkout "${BUILD_REF}" \
26-
&& git remote add fork "${BUILD_FORK_REPO}" \
27-
&& git fetch fork --filter=tree:0 \
28-
&& git checkout -b fork-branch "fork/${BUILD_FORK_REF}" \
2926
&& git submodule update --init --filter=blob:none data extmod lib tools frozen \
3027
&& git fetch --no-recurse-submodules --shallow-since="2021-07-01" --tags "${BUILD_REPO}" HEAD \
3128
&& git fetch --no-recurse-submodules --shallow-since="2021-07-01" origin \
29+
# && git remote add fork "${BUILD_FORK_REPO}" \
30+
# && git fetch fork --filter=tree:0 \
31+
# && git checkout -b fork-branch "fork/${BUILD_FORK_REF}" \
3232
&& git repack -d
3333

3434
RUN pip3 install --upgrade -r requirements-doc.txt \

0 commit comments

Comments
 (0)