From d2ed45a64159ef4dbe8b0b9471651d19aa972727 Mon Sep 17 00:00:00 2001 From: tmp64 Date: Thu, 7 Dec 2023 04:38:41 +0000 Subject: [PATCH] Dockerfile: Move tag arg to just before build --- Dockerfile.linux | 4 ++-- Dockerfile.windows | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.linux b/Dockerfile.linux index 036dd4c6..03d1073a 100644 --- a/Dockerfile.linux +++ b/Dockerfile.linux @@ -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 @@ -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 \ diff --git a/Dockerfile.windows b/Dockerfile.windows index 1ca73570..63086485 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -1,7 +1,5 @@ FROM bhl-build -ARG BHL_VER_TAG="dev" - # Build WORKDIR /build/bhl COPY . . @@ -9,6 +7,8 @@ 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 \