Hello,

I'm trying to deploy a simple Apereo CAS into Kubernetes using the Chart 
given by the overlay. Apereo CAS works fine, but when I try to deploy the 
Spring Boot Admin server with the same Chart, that uses the docker image: 
*apereo/cas-bootadmin-server*, I get the following error in the container:

Working Directory: /
/entrypoint.sh: 5: [: true: unexpected operator
java -server -noverify -Xmx1G 
-Djavax.net.ssl.trustStore=/etc/cas/truststore 
-Djavax.net.ssl.trustStoreType=PKCS12 
-Djavax.net.ssl.trustStorePassword=changeit -jar casbootadminserver.war 
--spring.profiles.active=standalone 
--spring.config.additional-location=file:/etc/cas/config/ 
--logging.config=file:/etc/cas/config/log4j2.xml
/entrypoint.sh: 15: exec: java: not found

So it basically says that Java is not present in the container. I locally 
created one container to check if that what true, executing:

 docker run --rm  -ti --entrypoint bash apereo/cas-bootadmin-server:latest
 cnb@04e92178f458:/$ which java
 cnb@04e92178f458:/$ java
 bash: java: command not found

It turns out that Java isn't there. As I couldn't find the Dockerfile that 
originated that image, Could someone tell me if this is a bug in the image, 
or if I'm supposed to use it in another way?

Thanks in advance,

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" 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/a/apereo.org/d/msgid/cas-user/9ae25c62-aa76-4125-a93a-54ae4fe7d6b4n%40apereo.org.

Reply via email to