Skip to content

Commit f9499cb

Browse files
committed
fix build
1 parent f243e61 commit f9499cb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

repository-services/isajson-ena/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ ARG GPR_TOKEN
1010

1111
# Build receipt first (dependency)
1212
WORKDIR /app/receipt
13-
RUN sed -i 's/\r$//' gradlew && \
13+
RUN echo "Contents of /app/receipt:" && ls -la && \
14+
if [ ! -f gradlew ]; then \
15+
echo "ERROR: gradlew not found in /app/receipt"; \
16+
echo "Contents of /app:" && ls -la /app; \
17+
echo "Contents of /app/receipt:" && ls -la /app/receipt; \
18+
exit 1; \
19+
fi && \
20+
sed -i 's/\r$//' gradlew && \
1421
chmod +x gradlew && \
1522
./gradlew build -x test -x spotlessApply -x spotlessJavaCheck --info --stacktrace && \
1623
./gradlew publishToMavenLocal

0 commit comments

Comments
 (0)