Hi all,

In case if helps anybody running into the same issue. My local.cfg had a 
different value for dspace.dir variable. The notes in Dockerfile explicitly 
specify that that value needs to match (from Dockerfile below):

# NOTE: DSPACE_INSTALL must align with the "dspace.dir" default 
configuration.
ENV DSPACE_INSTALL=/dspace

Best,
Agustina
On Thursday, 5 December 2024 at 07:50:59 UTC Agustina Martinez-Garcia wrote:

> Hi all,
>
> I'm trying to test a PR locally (current DSpace 9.x branch) following the 
> instructions as per 
> https://wiki.lyrasis.org/display/DSPACE/Testing+DSpace+Github+Pull+Requests
> .
>
> When trying to rebuild the backed via this command as per the 
> instructions, I get the error below:
>
> docker compose -f docker-compose.yml -f docker-compose-cli.yml build 
> --no-cache
>
> Error:
>
> => CANCELED [dspace ant_build 6/6] RUN ant init_installation 
> update_configs update_code update_webapps                                   
>                            10.0s
>  => [dspace-cli ant_build 5/6] RUN mkdir /tmp/ant-1.10.13 &&     wget -qO- 
> "
> https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.13-bin.tar.gz"; 
> | tar -zx --  1.6s
>  => [dspace-cli ant_build 6/6] RUN ant init_installation update_configs 
> update_code                                                                 
>                   7.6s
>  => ERROR [dspace-cli stage-2 2/3] COPY --from=ant_build /dspace /dspace   
>                                                                             
>                0.0s
> ------
>  > [dspace-cli stage-2 2/3] COPY --from=ant_build /dspace /dspace:
> ------
> failed to solve: failed to compute cache key: failed to calculate checksum 
> of ref ae9acf11-5f05-42c8-8563-bdd523458d27::of0rj5pfb01o5g8bfk9395ypy: 
> "/dspace": not found
>
> Is anybody experiencing the same issue? I am using a Mac.
>
> Best,
> Agustina
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/04f3220d-b48f-419f-b080-2229dd9fed33n%40googlegroups.com.
  • [dspace-tech] Dock... 'Agustina Martinez-Garcia' via DSpace Technical Support
    • [dspace-tech]... 'Agustina Martinez-Garcia' via DSpace Technical Support

Reply via email to