Skip to content

Commit b6a190a

Browse files
committed
fix: spark build
1 parent 171daaa commit b6a190a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spark-k8s/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ cd "$(/stackable/patchable --images-repo-root=src checkout spark-k8s ${PRODUCT})
2323

2424
# Create snapshot of the source code including custom patches
2525
tar -czf /stackable/spark-${PRODUCT}-src.tar.gz .
26+
chmod g=u /stackable/spark-${PRODUCT}-src.tar.gz
2627
EOF
2728

2829
# hbase-connectors-builder: Build the Spark HBase connector and copy
@@ -113,6 +114,7 @@ mvn --quiet --non-recursive --no-transfer-progress --batch-mode --file /stackabl
113114
dependency:copy \
114115
-Dartifact=org.apache.logging.log4j:log4j-slf4j-impl:'${log4j.version}' \
115116
-DoutputDirectory=./jars
117+
chmod g=u /stackable/hbase-connector-${HBASE_CONNECTOR}-src.tar.gz .
116118
EOF
117119

118120

@@ -230,7 +232,6 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
230232
chmod -R g=u /stackable/spark-${PRODUCT}/dist
231233
chmod -R g=u /stackable/spark-${PRODUCT}/assembly/target/bom.json
232234
chmod -R g=u /stackable/jmx
233-
chmod g=u /stackable/*-src.tar.gz
234235
EOF
235236

236237
# TODO: java-base installs the Adoptium dnf repo and the Termurin jre which is not needed here.

0 commit comments

Comments
 (0)