dongjoon-hyun commented on code in PR #42636:
URL: https://github.com/apache/spark/pull/42636#discussion_r1303619550
##########
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile:
##########
@@ -42,6 +42,8 @@ RUN set -ex && \
rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/*
COPY jars /opt/spark/jars
+# Copy RELEASE file if exists
+COPY RELEAS[E] /opt/spark/RELEASE
Review Comment:
I used a trick glob pattern here in Dockerfile. Since `RELEASE` file doesn't
exist in Git repository, `RELEAS[E]` matches `RELEASE` or `RELEAS` and this
statement is ignored when there is no such file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]