Comments (8)
The file was stripped during the release to github due to internal information being present. I'm sorry about that. I'm no longer with the team but I'll adress the issue.
The dockerfile itself is really nothing special, the following might be a good starting point:
FROM adoptopenjdk/maven-openjdk11:latest
RUN mkdir /app
COPY /target/idp-server*.jar /app/idp-server.jar
WORKDIR /app
HEALTHCHECK CMD curl --fail http://localhost:8080/actuator/health | grep UP || exit 1
CMD ["java", "-jar", "idp-server.jar"]
from ref-idp-server.
hmm, works on my machine :D what goals did you execute?
(I actually use pretty much the same setup, the only difference being java 12, but that sounds rather unlikely)
from ref-idp-server.
First to say, I have no experience with Java nor Maven.
I retried to build with Java 13.0.1 without success.
To build I followed the instructions in the Readme.
man clean compile rund successful.
mvn install fails with the Docker error. The tests run without error. Also mvn test runs fine.
docker-compose build --build-arg mode=tested fails also but with an other error.
Building idpserver
[+] Building 0.0s (1/2)
=> [internal] load build definition from Dockerfile => => transferring dockerfile: 2B failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount998915947/Dockerfile: no such file or directory
ERROR: Service 'idpserver' failed to build : Build failed
There is no /var/lib/docker directory. The Docker runs fine with other images.
from ref-idp-server.
I'm very much surprised that Arkinator has a working docker compose part on his machine (linux?)
there are necessary files missing on github like
idp-server/buildDockerImage.sh
idp-server/deleteDockerImage.sh
idp-server/Dockerfile
at least the dockerfile would be useful ;-)
from ref-idp-server.
I see the same errors, the files are just missing in the repo - can you maybe add the Dockerfile @Arkinator?
According to the idp-server/pom.xml -> maven-resource-plugin
they should be located in ${basedir}/src/main/docker
.
from ref-idp-server.
Thank you for the fast reply!
I was able to build the system with a slight change (the .jar is already copied to the tmpDocker folder, so no target
necessary):
COPY ./idp-server*.jar /app/idp-server.jar
I created 4 similiar Dockerfiles, which copying the corresponding artifact (e.g. idp-sektoral*.jar, idp-server*.jar, ...):
from ref-idp-server.
I also found the overall problem: looks like everything about Docker is ignored in .gitignore
from ref-idp-server.
There is an image available on docker hub as well:
https://hub.docker.com/r/gematik1/idp-server/
from ref-idp-server.
Related Issues (7)
- Instances of java.util.Random are not cryptographically secure HOT 2
- Version of gemLibPki doesn't fit to the projects ref-GemLibPki version
- Provide a running local docker-compose setup HOT 8
- Curve not supported: org.bouncycastle.jce.spec.ECNamedCurveSpec HOT 2
- General Questions HOT 3
- Scope "gem-auth" is missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ref-idp-server.