File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 88
99FROM  gcr.io/cloud-marketplace-tools/k8s/deployer_helm/onbuild
1010
11- COPY  data-test/ /data-test/
11+ #  The schema,yaml and chart/ have already been added thanks to the
12+ #  "onbuild" Dockerfile:
13+ #  https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/4335f9/marketplace/deployer_helm_base/onbuild/Dockerfile#L4-L12
14+ # 
15+ #  Since the deployer image must only contain compressed charts, i.e.,
16+ #  chart/chart.tar.gz (which is created by the "onbuild" Docker image), and
17+ #  a data-test/chart/chart.tar.gz. That is why we need to tar the chart in
18+ #  data-test.
19+ COPY  data-test/schema.yaml /data-test/schema.yaml
20+ COPY  data-test/chart /tmp/data-test/chart.tmp
21+ RUN  cd /tmp/data-test \
22+         && mv chart.tmp/* chart \
23+         && tar -czvf /tmp/data-test/chart.tar.gz chart \
24+         && mv chart.tar.gz /data-test/chart/
25+ 
1226
1327#  If you wonder what magic is this, take a look at:
1428#  https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/4335f9/marketplace/deployer_helm_base/onbuild/Dockerfile#L16-L20
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments