Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27608

Use lowercase image reference name in our docker file

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4966/5/consoleFull

      The build failed with

      19:46:22  #1 [internal] load build definition from Dockerfile
      19:46:22  #1 transferring dockerfile: 7.66kB done
      19:46:22  #1 DONE 0.1s
      19:46:22  
      19:46:22  #2 [internal] load .dockerignore
      19:46:22  #2 transferring context: 2B done
      19:46:22  #2 DONE 0.1s
      19:46:22  Dockerfile:117
      19:46:22  --------------------
      19:46:22   115 |     #
      19:46:22   116 |     
      19:46:22   117 | >>> FROM BASE_IMAGE
      19:46:22   118 |     SHELL ["/bin/bash", "-o", "pipefail", "-c"]
      19:46:22   119 |     
      19:46:22  --------------------
      19:46:22  ERROR: failed to solve: failed to parse stage name "BASE_IMAGE": invalid reference format: repository name must be lowercase
      

      Changing BASE_IMAGE to base_image can fix the problem.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: