adorsys / xs2a

Open Source NextGenPSD2 XS2A Implementation from adorsys.
https://adorsys.com/en/products/
GNU Affero General Public License v3.0
134 stars 63 forks source link

docker-compose up failed #19

Closed dkdndes closed 5 years ago

dkdndes commented 5 years ago
Building xs2a-idp
Step 1/6 : FROM jboss/keycloak:3.4.3.Final
 ---> 25161819936c
Step 2/6 : USER root
 ---> Using cache
 ---> 9a203b24d277
Step 3/6 : ADD keycloak-provider-extension/keycloak-clientregistration-provider/target/keycloak-clientregistration-provider.jar /opt/jboss/keycloak/providers/keycloak-clientregistration-provider.jar
ERROR: Service 'xs2a-idp' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder928980162/keycloak-provider-extension/keycloak-clientregistration-provider/target/keycloak-clientregistration-provider.jar: no such file or directory

Please, clarify what "keycloak-provider-extension" is and how it can be added - neither with or without DB worked for me?

DG0lden commented 5 years ago

Pls try to invoke maven build by

mvn package

before running the docker-compose

dkdndes commented 5 years ago

Do I have to $ brew cask install java; brew install maven to make use a Dockerfile? I am not a docker export, but would it not be better to use a maven Docker container?

DG0lden commented 5 years ago

We separate our build environment from our running containers.

You may use our ready docker images from docker hub: https://hub.docker.com/r/adorsys/xs2a-aspsp-profile https://hub.docker.com/r/adorsys/xs2a-idp/ https://hub.docker.com/r/adorsys/xs2a-service/ https://hub.docker.com/r/adorsys/xs2a-mock-server/ https://hub.docker.com/r/adorsys/xs2a-consent-management/ https://hub.docker.com/r/adorsys/xs2a-mock-online-banking-backend/ https://hub.docker.com/r/adorsys/xs2a-mock-online-banking-ui/

We plan to adjust docker-compose with these images in the nearest future, so that you'd pull them automatically instead of building them. If you're willing, maybe you could contribute here?

dkdndes commented 5 years ago

I'll check it out, thank you for the hint.