Skip to content

Commit

Permalink
Dockerfile: Refresh Git index
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Dec 3, 2023
1 parent da6a8e2 commit c85e04f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ RUN apt-get install -y \
WORKDIR /build/bhl
COPY . .

# Refresh Git index after .git is copied
RUN git update-index --refresh

RUN python3.8 ./scripts/BuildRelease.py \
--target client \
--build-type release \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FROM bhl-build
WORKDIR /build/bhl
COPY . .

# Refresh Git index after .git is copied
RUN git update-index --refresh

RUN python ./scripts/BuildRelease.py \
--target client \
--build-type release \
Expand Down

0 comments on commit c85e04f

Please sign in to comment.