Skip to content

Commit 69ab336

Browse files
committed
Update Dockerfile to use variable GIT_REPO from config
1 parent 71c3228 commit 69ab336

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deployment/ecr/prebid-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ java.net.http,java.security.sasl,jdk.naming.dns,jdk.crypto.ec,jdk.security.auth
4343
COPY docker-build-config.json docker-build-config.json
4444

4545
# Clone and build in single layer to reduce size
46-
RUN git clone --single-branch --branch master --depth 1 https://github.com/prebid/prebid-server-java.git && \
46+
RUN git clone --single-branch --branch master --depth 1 $(jq -r .GIT_REPO ./docker-build-config.json) && \
4747
cd prebid-server-java && \
4848
git fetch origin --tags && \
4949
git checkout $(jq -r .GIT_TAG_VERSION ../docker-build-config.json) && \
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2+
"GIT_REPO": "https://github.com/prebid/prebid-server-java.git",
23
"GIT_TAG_VERSION": "3.22.0",
34
"MVN_CLI_OPTIONS": "-Dmaven.test.skip"
4-
}
5-
5+
}

0 commit comments

Comments
 (0)