Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Run build.sh with errors #16

Open
canglongxiang opened this issue Aug 8, 2017 · 5 comments
Open

Run build.sh with errors #16

canglongxiang opened this issue Aug 8, 2017 · 5 comments

Comments

@canglongxiang
Copy link

canglongxiang commented Aug 8, 2017

I followed document to run "./build.sh 5.1.2", there is some errors and I don't know how to reslove them, so I just comment it in "Dockerfile". Error info are below:

`Step 12/18 : RUN chmod -R 750 cas-overlay/bin && chmod 750 cas-overlay/mvnw && chmod 750 cas-overlay/build.sh && chmod 750 /opt/jre-home/bin/java;
---> Running in a4e36a0a070d

chmod: cannot access 'cas-overlay/mvnw': No such file or directory

chmod: cannot access 'cas-overlay/build.sh': No such file or directory`

Also I comment the command "RUN ./mvnw clean package -T 10".

@retpolanne
Copy link
Contributor

It looks like the cas-overlay-template used maven before. This is the old template.

I tried changing this to RUN ./build.sh run but it broke ( org/apereo/cas/web/CasWebApplication has been compiled by a more recent version of the Java Runtime) and it might break on old versions of the cas-overlay.

@seregayoga
Copy link

I see the same problem. Is it repo maintaining? Last commit was one year ago.

@njwest
Copy link

njwest commented Oct 8, 2018

+1, also getting the chmod: cannot access 'cas-overlay/mvnw': No such file or directory error after following the official docs

@mdamour1976
Copy link

mdamour1976 commented Dec 14, 2018

In Dockerfile just add --branch 5.3 for git clone:
&& git clone --depth 1 --single-branch --branch 5.3 https://github.com/apereo/cas-overlay-template.git cas-overlay \

GitHub
Apereo CAS WAR Overlay template. Contribute to apereo/cas-overlay-template development by creating an account on GitHub.

@marcoam
Copy link

marcoam commented Feb 22, 2019

Thanks @mdamour1976, that worked :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants