File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
repository-services/isajson-ena Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ ARG GPR_USER
99ARG GPR_TOKEN
1010
1111# Build receipt first (dependency)
12+ # Verify receipt directory structure
13+ RUN echo "=== Directory structure ===" && \
14+ ls -la /app && \
15+ echo "=== /app/receipt contents ===" && \
16+ (ls -la /app/receipt 2>&1 || echo "Directory not found or empty" ) && \
17+ echo "=== Finding gradlew ===" && \
18+ find /app -name "gradlew" -type f 2>/dev/null | head -5
19+
1220WORKDIR /app/receipt
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 && \
21+ RUN test -f gradlew || (echo "ERROR: gradlew not in /app/receipt. Checking /app..." && ls -la /app && exit 1) && \
2022 sed -i 's/\r $//' gradlew && \
2123 chmod +x gradlew && \
2224 ./gradlew build -x test -x spotlessApply -x spotlessJavaCheck --info --stacktrace && \
You can’t perform that action at this time.
0 commit comments