Jason Tedor c24595e2ec
Fix names of UBI-based Docker image build contexts
This commit fixes the name of the UBI-based Docker image build contexts
to include "7" (to set us up for the future where we are likely to have
a ubi8-based image).
2019-11-01 17:29:15 -04:00

12 lines
323 B
Groovy

apply plugin: 'base'
task buildOssUbiDockerBuildContext(type: Tar) {
extension = 'tar.gz'
compression = Compression.GZIP
archiveClassifier = "oss-ubi7-docker-build-context"
archiveBaseName = "elasticsearch"
with dockerBuildContext(true, true, false)
}
assemble.dependsOn buildOssUbiDockerBuildContext