Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14189

docker example to build lustre

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      new distros can be a headache to build Lustre on, like Fedora/gcc10.
      sometimes it's just much simpler to build using specific (old) gcc than trying to fix all the warnings and false errors new gcc complains about.
      and docker/podman is a trivial way to do so:

      
      
      1. to build the image
        $podman build -t centos8-build .
      2. to build Lustre:
        $ podman run -it
        --mount type=bind,source=<path-to-kernel>,target=/tmp/kernel \
        --mount type=bind,source=<path-to-lustre>,target=/tmp/lustre \
        centos8-build /bin/bash -c "cd /tmp/lustre; sh autogen.sh; \
        ./configure --with-linux=/tmp/kernel/ \
        --with-linux-obj=/tmp/kernel/ && make"

      Attachments

        Activity

          People

            bzzz Alex Zhuravlev
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: