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

[RFE] Support "--secret option with the env attribute" and "RUN --mount=type=cache" in podman

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-8.9.0
    • podman
    • Normal
    • sst_container_tools
    • 5
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux

      1. Who is the customer behind the request?
      Account: name (acct #): Oriental Overseas Container Line Ltd
      TAM customer: Yes
      CSM customer: No
      Strategic: Yes

      2. What is the nature and description of the request?
      New feature requirements in podman
      Support "--secret option with the env attribute" and "RUN --mount=type=cache" in podman
      3. Why does the customer need this? (List the business requirements here)
      We have some credentials need to be used during the image build while this credentials should NOT be exist in the image. Build ARG cannot solve this requirements because the information still able to view by "docker/podman history <image>". Thus, we have to use -secret instead. The docker features "-secret option with the env attribute" and "RUN --mount=type=cache" were being used in this case.
      Now, we would like to migrate from docker to, we would like to request podman to support those 2 features, so that we can migrate to use podman smoothy.

      4. How would the customer like to achieve this? (List the functional requirements here)
      Podman can support "--secret option with the env attribute" and "RUN --mount=type=cache" which are already supported in docker
      "--secret option with the env attribute":
      https://docs.docker.com/build/building/secrets/#sources

      "RUN --mount=type=cache":
      https://docs.docker.com/build/guide/mounts/

      5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
      Can provide new installation of podman (rpm?) for testing in customer?

      6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
      No.

      7. Does the customer have any specific time-line dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
      RHEL8

      8. Is the sales team involved in this request and do they have any additional input?
      No

      9. List any affected packages or components.
      podman

      10. Would the customer be able to assist in testing this functionality if implemented?
      Yes, provide new installation of podman (rpm?) to us

            bbaude@redhat.com Brent Baude
            rhn-support-sbhavsar Sayali Bhavsar
            Container Runtime Eng Bot Container Runtime Eng Bot
            Container Runtime Bugs Bot Container Runtime Bugs Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: