diff --git a/hosting/single/Dockerfile.v2 b/hosting/single/Dockerfile.v2 index 3b994ce0e6..66ce0f1c4d 100644 --- a/hosting/single/Dockerfile.v2 +++ b/hosting/single/Dockerfile.v2 @@ -119,6 +119,7 @@ EXPOSE 2222 VOLUME /data ARG BUDIBASE_VERSION +# Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" ENV BUDIBASE_VERSION=$VERSION diff --git a/packages/server/Dockerfile.v2 b/packages/server/Dockerfile.v2 index 341fe5ee34..5035dc748f 100644 --- a/packages/server/Dockerfile.v2 +++ b/packages/server/Dockerfile.v2 @@ -68,6 +68,7 @@ COPY packages/server/builder/ builder/ COPY packages/server/client/ client/ ARG BUDIBASE_VERSION +# Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" ENV BUDIBASE_VERSION=$VERSION diff --git a/packages/worker/Dockerfile.v2 b/packages/worker/Dockerfile.v2 index ed3817e89d..78eba2d3d8 100644 --- a/packages/worker/Dockerfile.v2 +++ b/packages/worker/Dockerfile.v2 @@ -51,6 +51,7 @@ ENV TENANT_FEATURE_FLAGS=*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR ENV ACCOUNT_PORTAL_URL=https://account.budibase.app ARG BUDIBASE_VERSION +# Ensuring the version argument is sent RUN test -n "$BUDIBASE_VERSION" ENV BUDIBASE_VERSION=$VERSION