I'm a novice to docker and to linux.
Im running on a Alpine base image and I want to keep my image as clean and lightweight as possible. I have to build and install some packages in my Dockerfile, specifically this.
I was wondering if there was any way for me to use docker multi-stage builds and build the MariaDB connector in one stage and copy the files to the next stage and then install it there.
I've tried to build it in a separate directory and copy it to a different machine to see if it's possible, but I've run into an issue where it cannot install without a number of files that are outside the built direcory.