Skip to content

Commit 96e90b9

Browse files
committed
chore: move chmod to builder step
1 parent 47abf8e commit 96e90b9

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

druid/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ chown -h ${STACKABLE_USER_UID}:0 /stackable/druid/bin/run-druid
145145

146146
# fix missing permissions
147147
chmod -R g=u /stackable/bin
148-
chmod g=u /stackable/apache-druid-${PRODUCT} /stackable/druid-${PRODUCT}-src.tar.gz
148+
chmod g=u /stackable/apache-druid-${PRODUCT}
149149
EOF
150150

151151
# ----------------------------------------

spark-k8s/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
230230
chmod -R g=u /stackable/spark-${PRODUCT}/dist
231231
chmod -R g=u /stackable/spark-${PRODUCT}/assembly/target/bom.json
232232
chmod -R g=u /stackable/jmx
233+
chmod g=u /stackable/*-src.tar.gz
233234
EOF
234235

235236
# TODO: java-base installs the Adoptium dnf repo and the Termurin jre which is not needed here.
@@ -301,7 +302,6 @@ chown -h ${STACKABLE_USER_UID}:0 /stackable/spark/examples/jars/spark-examples.j
301302
chmod g=u /stackable/spark
302303
chmod g=u /stackable/jmx
303304
chmod g=u /stackable/run-spark.sh
304-
chmod g=u /stackable/*-src.tar.gz
305305
EOF
306306

307307
# ----------------------------------------

zookeeper/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ chown -h ${STACKABLE_USER_UID}:0 /stackable/zookeeper
9191
# fix missing permissions
9292
chmod g=u /stackable/jmx
9393
chmod g=u /stackable/apache-zookeeper-${PRODUCT}-bin/
94-
chmod g=u /stackable/zookeeper-${PRODUCT}-src.tar.gz
9594
EOF
9695

9796
# ----------------------------------------

0 commit comments

Comments
 (0)