Skip to content

Commit e7b6ed1

Browse files
committed
remove chmod on python binaries
1 parent ef7bd8c commit e7b6ed1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

spark-k8s/Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ curl --fail "https://repo.stackable.tech/repository/packages/jmx-exporter/jmx_pr
255255
-o "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar"
256256
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar
257257

258+
# Symlink example jar, so that we can easily use it in tests
259+
ln -s /stackable/spark-${PRODUCT}/dist/examples/jars/spark-examples_*.jar /stackable/spark-${PRODUCT}/dist/examples/jars/spark-examples.jar
260+
258261
chmod -R g=u /stackable/spark-${PRODUCT}/dist
259262
chmod -R g=u /stackable/spark-${PRODUCT}/assembly/target/bom.json
260263
chmod -R g=u /stackable/jmx
@@ -309,15 +312,7 @@ microdnf clean all
309312
rm -rf /var/cache/yum
310313

311314
ln -s /usr/bin/python${PYTHON} /usr/bin/python
312-
chown -h ${STACKABLE_USER_UID}:0 /usr/bin/python
313315
ln -s /usr/bin/pip-${PYTHON} /usr/bin/pip
314-
chown -h ${STACKABLE_USER_UID}:0 /usr/bin/pip
315-
316-
# Symlink example jar, so that we can easily use it in tests
317-
ln -s /stackable/spark/examples/jars/spark-examples_*.jar /stackable/spark/examples/jars/spark-examples.jar
318-
chown -h ${STACKABLE_USER_UID}:0 /stackable/spark/examples/jars/spark-examples.jar
319-
320-
chmod -R g=u /stackable/run-spark.sh
321316
EOF
322317

323318
# ----------------------------------------

0 commit comments

Comments
 (0)