14 lines
371 B
Groovy
14 lines
371 B
Groovy
import org.elasticsearch.gradle.DockerBase
|
|
|
|
apply plugin: 'base'
|
|
|
|
task buildUbiDockerBuildContext(type: Tar) {
|
|
archiveExtension = 'tar.gz'
|
|
compression = Compression.GZIP
|
|
archiveClassifier = "docker-build-context"
|
|
archiveBaseName = "elasticsearch-ubi8"
|
|
with dockerBuildContext(null, false, DockerBase.UBI, false)
|
|
}
|
|
|
|
assemble.dependsOn buildUbiDockerBuildContext
|