crpeck / cas-overlay-docker

Docker compose setup to build & run Apereo CAS in Docker
16 stars 8 forks source link

It builds fail.. #1

Closed jay763190097 closed 5 years ago

jay763190097 commented 5 years ago
[root@localhost cas-overlay-docker]# docker-compose up --force-recreate
Building cas
Step 1/14 : FROM openjdk:8-jre-alpine as buildwar
 ---> 3402df656dfa
Step 2/14 : MAINTAINER Chris Peck <crpeck@wm.edu>
 ---> Using cache
 ---> 45832f2b577f
Step 3/14 : RUN cd /tmp   && apk --no-cache add maven git   && git clone -b master --single-branch https://github.com/apereo/cas-overlay-template.git cas-overlay   && mkdir -p /tmp/cas-overlay/src/main/webapp
 ---> Using cache
 ---> 5afaf6cbbf0b
Step 4/14 : COPY src/main/webapp/ /tmp/cas-overlay/src/main/webapp/
ERROR: Service 'cas' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder499900585/src/main/webapp: no such file or directory
crpeck commented 5 years ago

Looks like the changed from maven to gradle in version 6.

crpeck commented 5 years ago

Fixed - BUT - it can only build a version 5, do I not clone branch 5.3 from cas-overlay-template file.

crpeck commented 5 years ago

Updated to now work with CAS v 6.x