Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winPB: Switch to VS2022 build tools and add Windows build dockerfile #3702

Merged
merged 3 commits into from
Aug 13, 2024

Commits on Aug 8, 2024

  1. winPB: Switch to VS2022 build tools and add build dockerfile + relate…

    …d fixes
    
    Notes:
    - Adds Dockerfile.win2022 which can be used to create a build image
      comparable to the Linux ones. This will only install VS2022, not
      the earlier other compilers
    - Various modifications to support the above including:
      - Adding more 'win_reboot' tags to tasks to avoid attempting
        to reboot while running ansible inside the container
      - Use of gpg2 instead of gpg since that is what the new cygwin
        seems to have
      - Since the dockerfile does a base cygwin install, the ansible
        cygwin role now checks for jq.exe (the most recent addition)
        instead before deciding whether to skip the cygwin packages
      - Uses a windows command instead of cygwin (which may not be in
        the path at that point) as the "Dummy" command in the logs role
      - Changes the command used for default shortname creation to one
        that works in containers
    - Uses Visual Studio Build Tools instead of the community edition
      (Currently will not take effect if "adoptopenjdk" is skipped
      but that is skipped in the new dockerfile so it takes effect there)
    
    Signed-off-by: Stewart X Addison <sxa@redhat.com>
    sxa committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    a5bd587 View commit details
    Browse the repository at this point in the history
  2. Use ENV TERM=dumb

    Co-authored-by: George Adams <george.adams@microsoft.com>
    sxa and gdams authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    3e6e5df View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Set USER to ContainerUser

    Signed-off-by: Stewart X Addison <sxa@redhat.com>
    sxa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    9c9e5ce View commit details
    Browse the repository at this point in the history