OpenSearch/distribution/docker/oss-docker-build-context/build.gradle

14 lines
415 B
Groovy

apply plugin: 'base'
task buildOssDockerBuildContext(type: Tar) {
extension = 'tar.gz'
compression = Compression.GZIP
archiveClassifier = "docker-build-context"
archiveBaseName = "elasticsearch-oss"
// Non-local builds don't need to specify an architecture.
// Make this explicit via the string value.
with dockerBuildContext("<remote>", true, false)
}
assemble.dependsOn buildOssDockerBuildContext