Dears,

I try to set up 7.x dspace with docker. Created a dspace user on Ubuntu 
20.04. and pulled the latest 7.4 github files, later and older 7.3 tgz as 
well.

Started the build as
docker-compose -f docker-compose.yml -f 
src/main/docker-compose/docker-compose-angular.yml  -f docker-compose.yml 
build
and got the error message
Step 19/24 : FROM tomcat:9-jdk${JDK_VERSION}
 ---> 8f6a7fbb92c1
Step 20/24 : ENV DSPACE_INSTALL=/dspace
 ---> Using cache
 ---> 4c5d10c0508f
Step 21/24 : COPY --from=ant_build /dspace $DSPACE_INSTALL
ERROR: Service 'dspace' failed to build: COPY failed: stat dspace: file 
does not exist
where
ENV ANT_VERSION 1.10.12
ENV ANT_HOME /tmp/ant-$ANT_VERSION
ENV PATH $ANT_HOME/bin:$PATH
ENV DSPACE_INSTALL=/home/dspace/dspace
ENV JAVA_OPTS=-Xmx2000m

I tried to trace the build and used RUN ls command, and have seen that at 
the point of "--from=ant_build" there is a fresh tomcat installation, with 
a webapps.dist directory; so I do not understand why the COPY tries to copy 
/dspace??

Please help.
Regards

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/45475151-d7da-4550-9823-9e7fef310bedn%40googlegroups.com.

Reply via email to