Le 14/09/2022 à 20:54, Alan Snow a écrit :
Have you tried automating it in GitHub actions?

no. Not sure how doable installing the docker buildx stuff in GHA workers is, and the builds are probably too long compared to the timeout of GHA (actually, I see it is 72 hours, but not completely sure that with 2 or 3? vCPUs cross compilation can be done in < 72 hours)


On Wed, Sep 14, 2022, 1:32 PM Even Rouault <[email protected]> wrote:

    Hi Javier,

    Le 14/09/2022 à 19:56, Javier Jimenez Shaw a écrit :
    > Hi
    >
    > There is only "alpine-normal-3.5.2" in docker hub for GDAL 3.5.2:
    > https://hub.docker.com/r/osgeo/gdal/tags?page=1&name=3.5
    <https://hub.docker.com/r/osgeo/gdal/tags?page=1&name=3.5>
    > <https://hub.docker.com/r/osgeo/gdal/tags?page=1&name=3.5
    <https://hub.docker.com/r/osgeo/gdal/tags?page=1&name=3.5>>
    >
    > but many for 3.5.1 (like ubuntu)
    >
    > Is that intentional?

    Not really. It has been 2 days that I'm attempting to push the images
    generated on my PC on Docker hub, and it fails on the ubuntu-full
    ones,
    with the connection being reset after many hours, probably due to
    their
    "big" size and my connection being too slow on upload, so I keep
    re-trying. Not the first time I hit that problem, but here it
    struggles
    more than usual. I should probably get off my procrastination of
    upgrading my DSL connection to fiber...

    If you have a faster connection and want to help, you need to install
    docker buildx (not sure I kept note on that installation process,
    but I
    probably followed what is described at
    https://github.com/OSGeo/gdal/tree/master/docker#multi-arch-images)
    with
    linux/amd64 and linux/arm64 backends installed, and then from a
    checkout
    of release/3.5 branch:

    ./docker/build-all.sh --with-multi-arch --release --tag 3.5.2 --gdal
    v3.5.2 --proj 9.1.0 --platform linux/arm64,linux/amd64

    Takes ~ 1 day for building everything (the slow part is arm64
    crosscompilation)

    And then relaunch the above command with --push appended to actually
    push to Docker hub (it can be done also in a single step but I prefer
    doing in two steps to separate upload issues from build issues)

    If you're willing to do that, I can grant you push rights to
    https://hub.docker.com/r/osgeo/gdal

    Even

--
    http://www.spatialys.com
    My software is free, but my time generally not.

    _______________________________________________
    gdal-dev mailing list
    [email protected]
    https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to