Skip to content

Commit 1907229

Browse files
authored
Change ENTRYPOINT to use tini for better signal handling
1 parent c54a06e commit 1907229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark-shell/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ RUN wget https://dlcdn.apache.org/spark/spark-${SPARK_VERSION}/spark-${SPARK_VER
2222
# Set Spark bin in PATH
2323
ENV PATH="/opt/spark/bin:${PATH}"
2424
# Set entrypoint
25-
ENTRYPOINT ["/opt/spark/bin/spark-submit"]
25+
ENTRYPOINT ["/usr/bin/tini", "--", "/bin/bash", "-c", "set -e; exec \"$@\"", "--"]

0 commit comments

Comments
 (0)