Skip to content

Commit

Permalink
Dockerfile: Move tag arg to just before build
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Dec 7, 2023
1 parent c56d720 commit d2ed45a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.linux
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM bhl-build

ARG BHL_VER_TAG="dev"

# Install build script dependencies
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
Expand All @@ -23,6 +21,8 @@ COPY . .
# Refresh Git index after .git is copied
RUN git update-index -q --refresh

ARG BHL_VER_TAG="dev"

RUN python3.8 ./scripts/BuildRelease.py \
--target client \
--build-type release \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM bhl-build

ARG BHL_VER_TAG="dev"

# Build
WORKDIR /build/bhl
COPY . .

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

ARG BHL_VER_TAG="dev"

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

0 comments on commit d2ed45a

Please sign in to comment.