springboot-fluentd-logging-example icon indicating copy to clipboard operation
springboot-fluentd-logging-example copied to clipboard

New Project Issue

Open rbk111088 opened this issue 3 years ago • 2 comments

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

rbk111088 avatar May 12 '21 17:05 rbk111088

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.

patoi avatar May 13 '21 16:05 patoi

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 ...

troyfolger avatar Aug 14 '24 18:08 troyfolger