From 445a8d3f351e6544429e442f1d3437ca2f80ae51 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 9 Apr 2024 12:53:42 +0100 Subject: [PATCH] Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set --- Accounts/Dockerfile.tpl | 2 +- AdminDashboard/Dockerfile.tpl | 2 +- App/Dockerfile.tpl | 2 +- Dashboard/Dockerfile.tpl | 2 +- Haraka/Dockerfile.tpl | 2 +- InfrastructureAgent/Dockerfile.tpl | 2 +- Ingestor/Dockerfile.tpl | 2 +- IsolatedVM/Dockerfile.tpl | 2 +- Nginx/Dockerfile.tpl | 2 +- Probe/Dockerfile.tpl | 2 +- StatusPage/Dockerfile.tpl | 2 +- TestServer/Dockerfile.tpl | 2 +- Tests/Dockerfile.tpl | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Accounts/Dockerfile.tpl b/Accounts/Dockerfile.tpl index 7c51a1d5aa..ccdd730972 100644 --- a/Accounts/Dockerfile.tpl +++ b/Accounts/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/AdminDashboard/Dockerfile.tpl b/AdminDashboard/Dockerfile.tpl index 1265a62f76..e3bf347ce5 100644 --- a/AdminDashboard/Dockerfile.tpl +++ b/AdminDashboard/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/App/Dockerfile.tpl b/App/Dockerfile.tpl index 47ac919245..7f94e5b0bf 100644 --- a/App/Dockerfile.tpl +++ b/App/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/Dashboard/Dockerfile.tpl b/Dashboard/Dockerfile.tpl index eec14dd614..a7adf3eadf 100644 --- a/Dashboard/Dockerfile.tpl +++ b/Dashboard/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/Haraka/Dockerfile.tpl b/Haraka/Dockerfile.tpl index dccf04d1ac..15ccf7837a 100644 --- a/Haraka/Dockerfile.tpl +++ b/Haraka/Dockerfile.tpl @@ -11,7 +11,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi RUN apk add bash diff --git a/InfrastructureAgent/Dockerfile.tpl b/InfrastructureAgent/Dockerfile.tpl index 285a61b301..96be308b66 100644 --- a/InfrastructureAgent/Dockerfile.tpl +++ b/InfrastructureAgent/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/Ingestor/Dockerfile.tpl b/Ingestor/Dockerfile.tpl index c5b21846d1..2c3ab8f93e 100644 --- a/Ingestor/Dockerfile.tpl +++ b/Ingestor/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/IsolatedVM/Dockerfile.tpl b/IsolatedVM/Dockerfile.tpl index 005b03eede..7070030283 100644 --- a/IsolatedVM/Dockerfile.tpl +++ b/IsolatedVM/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/Nginx/Dockerfile.tpl b/Nginx/Dockerfile.tpl index 6afa100896..0ccb53628d 100644 --- a/Nginx/Dockerfile.tpl +++ b/Nginx/Dockerfile.tpl @@ -9,7 +9,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. RUN apk add bash && apk add curl && apk add openssl diff --git a/Probe/Dockerfile.tpl b/Probe/Dockerfile.tpl index 40c982aa58..261837aedf 100644 --- a/Probe/Dockerfile.tpl +++ b/Probe/Dockerfile.tpl @@ -14,7 +14,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/StatusPage/Dockerfile.tpl b/StatusPage/Dockerfile.tpl index 31a9f7c5bf..80fd6a7d3a 100644 --- a/StatusPage/Dockerfile.tpl +++ b/StatusPage/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/TestServer/Dockerfile.tpl b/TestServer/Dockerfile.tpl index c89148b832..5cd6a56022 100644 --- a/TestServer/Dockerfile.tpl +++ b/TestServer/Dockerfile.tpl @@ -15,7 +15,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi # Install bash. diff --git a/Tests/Dockerfile.tpl b/Tests/Dockerfile.tpl index dc5922f029..c62d99d00b 100644 --- a/Tests/Dockerfile.tpl +++ b/Tests/Dockerfile.tpl @@ -13,7 +13,7 @@ ENV APP_VERSION=${APP_VERSION} # IF APP_VERSION is not set, set it to 1.0.0 -RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=2.0.0; fi +RUN if [ -z "$APP_VERSION" ]; then export APP_VERSION=1.0.0; fi RUN apk add bash