Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 1a74d61

Browse files
committed
Dockerfile.ubi: bind mount .git dir to allow inclusion of git commit hash
1 parent afd1436 commit 1a74d61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile.ubi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ COPY vllm vllm
120120
ENV CCACHE_DIR=/root/.cache/ccache
121121
RUN --mount=type=cache,target=/root/.cache/ccache \
122122
--mount=type=cache,target=/root/.cache/pip \
123+
--mount=type=bind,target=/workspace/.git \
123124
env CFLAGS="-march=haswell" \
124125
CXXFLAGS="$CFLAGS $CXXFLAGS" \
125126
CMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)