Skip to content

[SPARK-22960][K8S] Revert use of ARG base_image in images - #20170

Closed
liyinan926 wants to merge 1 commit into
apache:masterfrom
liyinan926:master
Closed

[SPARK-22960][K8S] Revert use of ARG base_image in images#20170
liyinan926 wants to merge 1 commit into
apache:masterfrom
liyinan926:master

Conversation

@liyinan926

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR reverts the ARG base_image before FROM in the images of driver, executor, and init-container, introduced in #20154. The reason is Docker versions before 17.06 do not support this use (ARG before FROM).

How was this patch tested?

Tested manually.

@vanzin@foxish@kimoonkim

@foxish

Copy link
Copy Markdown
Contributor

LGTM, thanks!

@vanzin

Copy link
Copy Markdown
Contributor

LGTM. I'll merge when tests finish even though this doesn't affect them.

@vanzin

Copy link
Copy Markdown
Contributor

Tests are taking to long...

Merging to master / 2.3.

asfgit pushed a commit that referenced this pull request Jan 6, 2018
## What changes were proposed in this pull request?
This PR reverts the `ARG base_image` before `FROM` in the images of driver, executor, and init-container, introduced in #20154. The reason is Docker versions before 17.06 do not support this use (`ARG` before `FROM`).
## How was this patch tested?
Tested manually.
vanzin foxish kimoonkim
Author: Yinan Li <liyinan926@gmail.com>
Closes#20170 from liyinan926/master.
(cherry picked from commit bf65cd3)
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
@asfgitasfgit closed this in bf65cd3Jan 6, 2018
@SparkQA

Copy link
Copy Markdown

Test build #85734 has finished for PR 20170 at commit 2f8d0b9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheungfelixcheung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@liyinan926@foxish@vanzin@SparkQA@felixcheung