[gdal-dev] help with (docker) build workflow
Even Rouault
even.rouault at spatialys.com
Sun Feb 19 10:36:46 PST 2023
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 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 builds with
> cmake - but the layer COPY process doesn't include cmake or the other
> prereqs used above (to save space in the image).
>
> Is it easy to include the build capability as a layer-copy step?
>
> Or is this perhaps a bad idea, I'm looking for the easiest way to get
> a build system running with docker - I can unpick the builder/COPY
> process, but maybe I'm missing something easy.
>
> Thank you
>
> --
> Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> Hobart, Australia
> e-mail: mdsumner at gmail.com
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230219/d9b71bcc/attachment.htm>
More information about the gdal-dev
mailing list