Skip to content

Commit 8587ee0

Browse files
authored
Remove POSTGRES_IMAGE environment variable (#11860)
1 parent 2b4ee63 commit 8587ee0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.gradle

-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ def Task getDockerBuildTask(String artifactName, String projectDir, String build
147147

148148
def buildPlatform = System.getenv('DOCKER_BUILD_PLATFORM') ?: isArm64 ? 'linux/arm64' : 'linux/amd64'
149149
def alpineImage = System.getenv('ALPINE_IMAGE') ?: isArm64 ? 'arm64v8/alpine:3.14' : 'amd64/alpine:3.14'
150-
def postgresImage = System.getenv('POSTGRES_IMAGE') ?: isArm64 ? 'arm64v8/postgres:13-alpine' : 'amd64/postgres:13-alpine'
151150
def buildArch = System.getenv('DOCKER_BUILD_ARCH') ?: isArm64 ? 'arm64' : 'amd64'
152151

153152
inputDir = file("$projectDir/build/docker")
@@ -156,7 +155,6 @@ def Task getDockerBuildTask(String artifactName, String projectDir, String build
156155
buildArgs.put('JDK_VERSION', jdkVersion)
157156
buildArgs.put('DOCKER_BUILD_ARCH', buildArch)
158157
buildArgs.put('ALPINE_IMAGE', alpineImage)
159-
buildArgs.put('POSTGRES_IMAGE', postgresImage)
160158
buildArgs.put('VERSION', buildVersion)
161159
})
162160
}

0 commit comments

Comments
 (0)