patoi / springboot-fluentd-logging-example

Spring Boot logging with logback, JSON logging to the standard out from a docker container.
MIT License
19 stars 9 forks source link

New Project Issue #2

Open rbk111088 opened 3 years ago

rbk111088 commented 3 years ago

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

patoi commented 3 years ago

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.

troyfolger commented 2 months ago

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