what is this error
mohammedshafinc
FREEOP

a year ago

✕ [stage-0 6/7] RUN --mount=type=cache,id=s/493facae-58d3-42bb-a0d4-0e3c83d2079f-m2/repository,target=/app/.m2/repository mvn -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install

process "/bin/bash -ol pipefail -c mvn -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1

May 08 21:43:51

Dockerfile:19

May 08 21:43:51

-------------------

May 08 21:43:51

17 | # build phase

May 08 21:43:51

18 | COPY . /app/.

May 08 21:43:51

19 | >>> RUN --mount=type=cache,id=s/493facae-58d3-42bb-a0d4-0e3c83d2079f-m2/repository,target=/app/.m2/repository mvn -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install

May 08 21:43:51

20 |

May 08 21:43:51

21 |

May 08 21:43:51

-------------------

May 08 21:43:51

ERROR: failed to solve: process "/bin/bash -ol pipefail -c mvn -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1

May 08 21:43:51

Error: Docker build failed

Solved

1 Replies

chandrika
EMPLOYEE

a year ago

Looking at your build logs in the latest deployment, looks like you were able to fix this.

[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------

May 08 17:34:31

[INFO] Total time: 2.605 s

May 08 17:34:31

[INFO] Finished at: 2025-05-08T16:34:31Z

If you have any helpful notes to share, please drop them in this thread for future readers!


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved chandrika about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...