Skip to content

Commit 22e1849

Browse files
foxishmridulm
authored andcommitted
[SPARK-22866][K8S] Fix path issue in Kubernetes dockerfile
## What changes were proposed in this pull request? The path was recently changed in #19946, but the dockerfile was not updated. This is a trivial 1 line fix. ## How was this patch tested? `./sbin/build-push-docker-images.sh -r spark-repo -t latest build` cc/ vanzin mridulm rxin jiangxb1987 liyinan926 Author: Anirudh Ramanathan <[email protected]> Author: foxish <[email protected]> Closes #20051 from foxish/patch-1.
1 parent a36b78b commit 22e1849

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

resource-managers/kubernetes/docker/src/main/dockerfiles/driver/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ FROM spark-base
2222
# If this docker file is being used in the context of building your images from a Spark
2323
# distribution, the docker build command should be invoked from the top level directory
2424
# of the Spark distribution. E.g.:
25-
# docker build -t spark-driver:latest -f dockerfiles/spark-base/Dockerfile .
25+
# docker build -t spark-driver:latest -f kubernetes/dockerfiles/spark-base/Dockerfile .
2626

2727
COPY examples /opt/spark/examples
2828

resource-managers/kubernetes/docker/src/main/dockerfiles/executor/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ FROM spark-base
2222
# If this docker file is being used in the context of building your images from a Spark
2323
# distribution, the docker build command should be invoked from the top level directory
2424
# of the Spark distribution. E.g.:
25-
# docker build -t spark-executor:latest -f dockerfiles/spark-base/Dockerfile .
25+
# docker build -t spark-executor:latest -f kubernetes/dockerfiles/spark-base/Dockerfile .
2626

2727
COPY examples /opt/spark/examples
2828

resource-managers/kubernetes/docker/src/main/dockerfiles/spark-base/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ FROM openjdk:8-alpine
2222
# If this docker file is being used in the context of building your images from a Spark
2323
# distribution, the docker build command should be invoked from the top level directory
2424
# of the Spark distribution. E.g.:
25-
# docker build -t spark-base:latest -f dockerfiles/spark-base/Dockerfile .
25+
# docker build -t spark-base:latest -f kubernetes/dockerfiles/spark-base/Dockerfile .
2626

2727
RUN set -ex && \
2828
apk upgrade --no-cache && \
@@ -38,7 +38,7 @@ COPY jars /opt/spark/jars
3838
COPY bin /opt/spark/bin
3939
COPY sbin /opt/spark/sbin
4040
COPY conf /opt/spark/conf
41-
COPY dockerfiles/spark-base/entrypoint.sh /opt/
41+
COPY kubernetes/dockerfiles/spark-base/entrypoint.sh /opt/
4242

4343
ENV SPARK_HOME /opt/spark
4444

0 commit comments

Comments
 (0)