mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `7.17`: - [[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201)](https://github.com/elastic/kibana/pull/150201) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T18:45:55Z","message":"[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of `DOCKER_BUILDKIT` after a version update.\r\nThis variable should either be unset or a boolean. Instead of using an\r\nempty string this sets it to 1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":150201,"url":"https://github.com/elastic/kibana/pull/150201","mergeCommit":{"message":"[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of `DOCKER_BUILDKIT` after a version update.\r\nThis variable should either be unset or a boolean. Instead of using an\r\nempty string this sets it to 1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150201","number":150201,"mergeCommit":{"message":"[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of `DOCKER_BUILDKIT` after a version update.\r\nThis variable should either be unset or a boolean. Instead of using an\r\nempty string this sets it to 1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}}]}] BACKPORT--> Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
parent
42a23d5b87
commit
a651e4ebc8
1 changed files with 1 additions and 1 deletions
|
@ -34,13 +34,13 @@ export JENKINS_URL=""
|
|||
export BUILD_URL=""
|
||||
export JOB_NAME=""
|
||||
export NODE_NAME=""
|
||||
export DOCKER_BUILDKIT=""
|
||||
|
||||
# Reads the ES_BUILD_JAVA env var out of .ci/java-versions.properties and exports it
|
||||
export "$(grep '^ES_BUILD_JAVA' .ci/java-versions.properties | xargs)"
|
||||
|
||||
export PATH="$HOME/.java/$ES_BUILD_JAVA/bin:$PATH"
|
||||
export JAVA_HOME="$HOME/.java/$ES_BUILD_JAVA"
|
||||
export DOCKER_BUILDKIT=1
|
||||
|
||||
# The Elasticsearch Dockerfile needs to be built with root privileges, but Docker on our servers is running using a non-root user
|
||||
# So, let's use docker-in-docker to temporarily create a privileged docker daemon to run `docker build` on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue