Skip to content

Commit 65a8ef9

Browse files
committed
fix: remove hbase intermediate sources / remove unnecessary and operator
1 parent 3019af4 commit 65a8ef9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hbase/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,16 @@ RUN --mount=type=cache,id=maven-hbase-${PRODUCT},uid=${STACKABLE_USER_UID},targe
4444
###
4545
### HBase
4646
###
47-
cd "$(/stackable/patchable --images-repo-root=src checkout hbase ${PRODUCT})" && \
47+
cd "$(/stackable/patchable --images-repo-root=src checkout hbase ${PRODUCT})"
4848

4949
# The release scripts of HBase also run the build twice (three times in fact, once again to build the site which we skip here).
5050
# I chose to replicate that exact behavior for consistency so please don't merge the two mvn runs into one unless you really know what you're doing!
5151
mvn --batch-mode --no-transfer-progress -Dhadoop.profile=3.0 -Dhadoop-three.version=${HADOOP} clean install -DskipTests
5252
mvn --batch-mode --no-transfer-progress -Dhadoop.profile=3.0 -Dhadoop-three.version=${HADOOP} install assembly:single -DskipTests -Dcheckstyle.skip=true -Prelease
5353
tar -xzf hbase-assembly/target/hbase-${PRODUCT}-bin.tar.gz -C /stackable/
5454
mv hbase-assembly/target/bom.json /stackable/hbase-${PRODUCT}/hbase-${PRODUCT}.cdx.json
55-
rm -rf /stackable/hbase-${PRODUCT}-src
55+
cd ..
56+
rm -r ${PRODUCT}
5657
ln -s "/stackable/hbase-${PRODUCT}" /stackable/hbase
5758

5859
###

0 commit comments

Comments
 (0)