[gdal-dev] Docker images for development/testing?

Howard Butler howard at hobu.co
Mon Jul 16 09:46:45 PDT 2018



On 7/16/18 8:51 AM, Robert Coup wrote:
> Suggestion:
>
> 1. docker images with all the build/test/library dependencies already
> installed — publish them so getting the right dependencies & environment is
> only a download.
>
>
> Thoughts? Comments?
PDAL uses Alpine+Docker for its TravisCI builds. The approach definitely
has some useful bug replication benefits, especially when we need to
take something locally for more intense debugging or we want someone to
reproduce a bug with a specific configuration. It is also convenient
that people can fetch the same base images from DockerHub and build
their own using our Travis configuration as a guide.

The downside of docker for CI testing is one more layer of stuff to go
wrong.

We switched from using Ubuntu to Alpine in an attempt to get smaller
images, with some painful success. Alpine images were definitely
smaller, but not always as convenient, and the packaging story is less
rigorous IMO. I'd say we're indifferent to Alpine vs. Ubuntu at this
time, and we'd probably just stick with Ubuntu given our experience.

See the PDAL tree's .travis.yml and scripts/ci directory for more
information https://github.com/PDAL/PDAL/

Howard






-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180716/5db32389/attachment-0001.sig>


More information about the gdal-dev mailing list