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,