crpeck / cas-overlay-docker Goto Github PK
View Code? Open in Web Editor NEWDocker compose setup to build & run Apereo CAS in Docker
Docker compose setup to build & run Apereo CAS in Docker
Hi,
I'm trying your repo to have a simple CAS server locally and I'm having issue while the build:
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:GeoTrust_Universal_CA.pem
done.
Setting up junit4 (4.12-8) ...
Setting up groovy (2.4.16-2) ...
update-alternatives: using /usr/share/groovy/bin/groovy to provide /usr/bin/groovy (groovy) in auto mode
update-alternatives: error: error creating symbolic link '/usr/share/man/man1/groovy.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package groovy (--configure):
installed groovy package post-installation script subprocess returned error exit status 2
Setting up ant-optional (1.10.5-2) ...
Setting up bnd (3.5.0-4) ...
dpkg: dependency problems prevent configuration of libgradle-core-java:
libgradle-core-java depends on groovy (>= 2.4.7); however:
Package groovy is not configured yet.
dpkg: error processing package libgradle-core-java (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgradle-plugins-java:
libgradle-plugins-java depends on libgradle-core-java (>= 4.4.1-6); however:
Package libgradle-core-java is not configured yet.
dpkg: error processing package libgradle-plugins-java (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gradle:
gradle depends on libgradle-core-java (>= 4.4.1-6); however:
Package libgradle-core-java is not configured yet.
gradle depends on libgradle-plugins-java (>= 4.4.1-6); however:
Package libgradle-plugins-java is not configured yet.
dpkg: error processing package gradle (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Errors were encountered while processing:
openjdk-11-jre-headless:amd64
groovy
libgradle-core-java
libgradle-plugins-java
gradle
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'cas' failed to build: The command '/bin/sh -c cd /tmp && apt-get update && apt-get install -y --no-install-recommends git gradle && git clone -b master --single-branch https://github.com/apereo/cas-overlay-template.git cas-overlay && mkdir -p /tmp/cas-overlay/src/main/webapp' returned a non-zero code: 100
$
I need to copy different build.gradle to include the dependencies I want to enable on my CAS instance. Is there an easier/more reliable method to do this? Such as having the entire cas-overlay-directory/
to override and modular .gradle
files. Is it possible?
Hi,
When trying to connect to /cas/login for authentication, I get this message:
The application you attempted to authenticate to is not authorized to use CAS. This usually indicates that the application is not registered with CAS, or its authorization policy defined in its registration record prevents it from leveraging CAS functionality, or it's malformed and unrecognized by CAS. Contact your CAS administrator to learn how you might register and integrate your application with CAS.
The URL of my client is: https://ecasclient/
and the CAS server is https://localhost:8443/cas
What can I do to fix this ?
[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 <[email protected]>
---> 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.