Skip to content

Commit e8594e5

Browse files
committed
fix build
1 parent 97af696 commit e8594e5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

repository-services/isajson-ena/Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,9 @@ ARG GPR_TOKEN
1212

1313
# Build receipt first (dependency)
1414
WORKDIR /app/receipt
15-
RUN if [ ! -f gradlew ]; then \
16-
echo "ERROR: gradlew not found in /app/receipt"; \
17-
echo "Checking if receipt files are in a different location..."; \
18-
find /app -name "gradlew" -type f 2>/dev/null; \
19-
echo "Contents of /app/receipt:"; \
20-
ls -la /app/receipt 2>&1 || echo "Directory empty or doesn't exist"; \
21-
exit 1; \
22-
fi && \
23-
sed -i 's/\r$//' gradlew && \
15+
RUN sed -i 's/\r$//' gradlew && \
2416
chmod +x gradlew && \
25-
./gradlew build -x test -x spotlessApply -x spotlessJavaCheck --info --stacktrace && \
17+
./gradlew build -x test -x spotlessApply -x spotlessJavaCheck && \
2618
./gradlew publishToMavenLocal
2719

2820
# Build isajson-ena

0 commit comments

Comments
 (0)