mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
7c323133c7
Refactor the `distribution` module to rename elasticsearch to opensearch. The commit doesn't rename the files in the `src/bin` directory as git doesn't detect `git mv`, so that change will be done in a subsequent commit. Signed-off-by: Rabi Panda <adnapibar@gmail.com>
15 lines
459 B
Groovy
15 lines
459 B
Groovy
import org.opensearch.gradle.DockerBase
|
|
|
|
apply plugin: 'base'
|
|
|
|
tasks.register("buildOssDockerBuildContext", Tar) {
|
|
archiveExtension = 'tar.gz'
|
|
compression = Compression.GZIP
|
|
archiveClassifier = "docker-build-context"
|
|
archiveBaseName = "opensearch-oss"
|
|
// Non-local builds don't need to specify an architecture.
|
|
with dockerBuildContext(null, DockerBase.CENTOS, false)
|
|
}
|
|
|
|
tasks.named("assemble").configure { dependsOn "buildOssDockerBuildContext" }
|