File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,10 @@ RUN curl -s https://archive.apache.org/dist/spark/spark-${SPARK_VER}/spark-${SPA
3232 ln -s ${SPARK_HOME}-${SPARK_VER}-bin-hadoop2.7 $SPARK_HOME
3333
3434# Download entrypoint.sh from matching tag
35- # Use tini from Anaconda installation
3635RUN cd /opt/ && \
3736 wget https://raw.githubusercontent.com/apache/spark/v${SPARK_VER}/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh && \
3837 chmod a+x /opt/entrypoint.sh && \
39- sed -i 's/tini -s/tini -g/g' /opt/entrypoint.sh && \
40- ln -sfn /opt/conda/bin/tini /usr/bin/tini
38+ sed -i 's/tini -s/tini -g/g' /opt/entrypoint.sh
4139
4240WORKDIR $SPARK_HOME/work-dir
4341# Ensure that work-dir is writable by everyone
Original file line number Diff line number Diff line change @@ -27,12 +27,10 @@ RUN curl -s https://archive.apache.org/dist/spark/spark-${SPARK_VER}/spark-${SPA
2727 ln -s ${SPARK_HOME}-${SPARK_VER}-bin-hadoop2.7 $SPARK_HOME
2828
2929# Download entrypoint.sh from matching tag
30- # Use tini from Anaconda installation
3130RUN cd /opt/ && \
3231 wget https://raw.githubusercontent.com/apache/spark/v${SPARK_VER}/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh && \
3332 chmod a+x /opt/entrypoint.sh && \
34- sed -i 's/tini -s/tini -g/g' /opt/entrypoint.sh && \
35- ln -sfn /opt/conda/bin/tini /usr/bin/tini
33+ sed -i 's/tini -s/tini -g/g' /opt/entrypoint.sh
3634
3735WORKDIR $SPARK_HOME/work-dir
3836# Ensure that work-dir is writable by everyone
You can’t perform that action at this time.
0 commit comments