Use Minimal Base Images

FROM alpine:latest

Pros: Small size, security, fast downloads.

Cons: May require additional configuration; some packages might be missing or behave differently due to using musl instead of glibc.

  • Scratch: An empty image ideal for languages that can compile static binaries (Go, Rust).
FROM scratch
  COPY myapp /myapp
  CMD ["/myapp"]
Discussion
Thanks for sharing

1

Thank you for submitting this lab Shubham! Can you please share some links to useful resources where we can learn further?

1

Sure you can visit my medium were i put stories of new learning activities medium.com/@shubhamprajapati032

12

2