Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88308

[RHEL EPIC] Additional build support in Podman - `--link` command - RHEL 10.1

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Additional build support in Podman - `--link` command - RHEL 10.1
    • Hide

      Add tests for the `ADD/COPY --link` command for Buildah and Podman.  These tests should be similar to the `ADD/COPY --exclude` tests.

       

      The `COPY --link <source> <destination>` command tells Buildah/Podman to create a special link that points to the original files. 

      Show
      Add tests for the `ADD/COPY --link` command for Buildah and Podman.  These tests should be similar to the `ADD/COPY --exclude` tests.   The `COPY --link <source> <destination>` command tells Buildah/Podman to create a special link that points to the original files. 
    • Red Hat Enterprise Linux
    • rhel-container-tools
    • 20
    • 20
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Dev ack, Docs ack
    • Enhancement
    • Hide
      .The `ADD`and `COPY` instructions now support the `--link` option

      Buildah and Podman now support the `--link` flag for ADD and COPY instructions in Containerfiles, which causes the new content to be added as its own layer in the built image.
      Show
      .The `ADD`and `COPY` instructions now support the `--link` option Buildah and Podman now support the `--link` flag for ADD and COPY instructions in Containerfiles, which causes the new content to be added as its own layer in the built image.
    • Done
    • Done
    • Done
    • Unspecified

      Description

      Goal is to increase compatibility with BuildKit switches and Dockerfile syntax such as `ADD/COPY --link`, `ADD/COPY --exclude`, and `COPY --parents`.

      For RHEL 9.7/10.1, the only remaining feature is `ADD/COPY --link`, the other two options were provided in Podman v5.4 and RHEL 9.6/10.0.

              tsweeney@redhat.com Tom Sweeney
              tsweeney@redhat.com Tom Sweeney
              Container Runtime Eng Bot Container Runtime Eng Bot
              Yiqiao Pu Yiqiao Pu
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: