Golang docker base image scratch

Our docker containers are built using the base image scratch, we use multi stage build to keep the images as small as possible. Is there a way to copy over the doppler binary from alpine base image to the scratch base image in the multi stage build?

Hi @Sheldon_Dsouza!

Welcome to the Doppler Community!

The Doppler CLI is just a single binary file, so it should be really easy to incorporate into any custom image you have. You can use our shell script installation method described here:

Or you can manually download the binary file from here and incorporate it however you like:

https://cli.doppler.com/download

Would either of those options work for you?

Regards,
-Joel

Awesome this makes things easier thanks!