Skip to content

Commit 72f0212

Browse files
committed
Apply code formatting before Maven build in Docker image
Run spotless:apply before mvn install to ensure consistent code formatting in the Docker build process. Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
1 parent b1dfcd5 commit 72f0212

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/Dockerfile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
FROM maven:3.9.9-eclipse-temurin-17 as build
1717
COPY . /benchmark
1818
WORKDIR /benchmark
19-
RUN mvn install
19+
RUN mvn spotless:apply && mvn install
2020

2121
# Create the benchmark image
2222
FROM eclipse-temurin:17

0 commit comments

Comments
 (0)