springboot-fluentd-logging-example
springboot-fluentd-logging-example copied to clipboard
New Project Issue
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them Building app [+] Building 0.1s (1/2) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2B 0.0s failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount611836272/Dockerfile: no such file or directory ERROR: Service 'app' failed to build : Build failed
I am adding only fluentd conf and docker-compose from your end but my app is failing with above error
I think, the fluent/fluentd:v1.1.1-onbuild
is an old and vulnerable docker image version. Please update from v1.1.1-onbuild to v1.12.2-1.0
This project just a demontration of logging, and an older one.
I think, the fluent/fluentd:v1.1.1-onbuild is an old and vulnerable docker image version. Please update from v1.1.1-onbuild to v1.12.2-1.0
Wouldn't it just have been easier to fix this in your docker-compose.yml
and push that commit?
Also, if you use a more modern docker build approach, you can eliminate the mvn clean install
...
And, lastly, the project mvn clean install
(as-is) fails with recent JDK versions ...