Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-1899

podman: make Makefile window ready or ...

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • rhel-sst-container-tools
    • RUN 241, RUN 242

      As of now, the podman makefile does not work very well on windows.  In order to work in Windows and compile a podman (remote) binary (required), we need `make podman-remote ` to work for Windows.

      At the very minimum, we should not be trying to run .sh (bash) scripts to detect anything on Windows.  If we need to detect things, a powershell script should be used.

      Brain storm:

      1. can we leave the podman-remote target but perform something like a simpler go build statement for windows.
      2. should we do something like Makefile.Windows
      3. can we NOT use make in windows?  Just rely on a powershell script which could be what Makefile.Windows is?

       

      Lots of latitude here.

       

      Extra credit:

      1. can we do something similar for `make localmachine`?  To run tests on Windows for HyperV, for example, I have to issue a massive go build command line derived from the linux make.

              ashley-cui Ashley Cui
              bbaude@redhat.com Brent Baude
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: