Ah, awesome - thanks Even and Daniel, both very helpful.
Cheers, Mike
On Mon, Feb 20, 2023 at 5:36 AM Even Rouault
wrote:
> Michael,
>
> for your use case, you are only interested in the "builder" image, not the
> "runner" one.
>
> So just build it with something like: docker build . --target
Michael,
for your use case, you are only interested in the "builder" image, not
the "runner" one.
So just build it with something like: docker build . --target builder -t
whatever_tag_name_you_want
Even
Le 19/02/2023 à 19:08, Michael Sumner a écrit :
I would like to build GDAL in an image
Hi Michael,
The idea of a two-image build like this is explicitly to create a Runner
without all the compile dependencies, reducing the amount of baggage that
users of the Docker image end up having. That's why it doesn't copy over
all the dependencies for compilation, as you note! One of the down
I would like to build GDAL in an image on the basis of a dockerfile used
for CI, I'm confused by the layer process that copies the build outputs for
the final steps
https://github.com/OSGeo/gdal/blob/master/docker/ubuntu-small/Dockerfile#L231
I want to be able to run that image and then do my own