Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14631

DO188: ch04s - Improve WORKDIR definition, it does mkdir -p automatically - RHT2315606

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DO188 - RHOSCP4.14-en-3-20241023
    • DO188
    • False
    • Hide

      None

      Show
      None
    • False
    • 4
    • en-US (English)

      Please fill in the following information:


      URL: ch04s
      Reporter RHNID: carias@redhat.com
      Section title: Create Images with Containerfiles
      Language: English

      Issue description

      A student was confused in exercise https://rol.redhat.com/rol/app/courses/do188-4.14/pages/ch04s04 as there are no hints in the course guide as how the /redhat directory is created.
      Seems like by defining the WORKDIR in the Containerfile is enough to have the directory created when the image is built.
      Adding a clarification in the theory section would help.

      Steps to reproduce:

      Workaround:

      Expected result:

              gls-curriculum-ocp-adv@redhat.com PTL - AppDev Team
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: