adobe / experience-platform-streaming-connect

Experience platform Streaming Connectors for Data Ingress
Apache License 2.0
23 stars 20 forks source link

Reduce Docker Daemon Context #55

Open OneCricketeer opened 1 year ago

OneCricketeer commented 1 year ago

Subject of the issue

The context sends too much information, IMO

 => [internal] load build context                                                                                                                                                                                                                                                                             0.4s
 => => transferring context: 24.65MB 

Steps to reproduce

./gradlew clean build
docker build --no-cache -t img .

Expected behaviour

The context can be reduced to only include the necessary files.

Ideally, multi-stage builds are used from a gradle base image, then copied to the JRE image.