Building ubuntu2004 docker image for usage on BYOC

noel.kuntze's Avatar

noel.kuntze

Oct 02, 2020 @ 04:46 PM

Hi,

By default, the appveyor host agent builds the Ubuntu 18.04 image. However, I want to use the ubuntu2004 image, which is, unsurprisingly, not the Ubuntu 18.04 image. It's not built by default, so how do I replicate that for my own setup? I saw some scripts on the AppVeyor GH repo, but it's not immediately clear to me how I could use the scripts to build the Ubuntu 20.04 image. Would you please enlighten me on that? It'd be quite helpful, as at least one part of the test suite I run needs the newer mingw version that is first available in 20.04 to check if some version can be cross compiled using Ubuntu 20.04. We already know it doesn't work with Ubuntu 18.04 because the mingw version that it ships with is too old.

Also, do you have any standard way to update the docker images automatically? As far as I am aware, the appveyor host agent does not do that. Are the images used by ci.appveyor.com ever updated?

Kind regards

Noel

Reply to this discussion

Internal reply

        No formatting (switch to Markdown)

          You can attach files up to 10MB

          If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

            Keyboard shortcuts

            Generic

            ? Show this help
            ESC Blurs the current field

            Comment Form

            r Focus the comment reply box
            ^ + ↩ Submit the comment

            You can use Command ⌘ instead of Control ^ on Mac