File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,10 @@ setup-kind:
118118.PHONY : e2e-container
119119e2e-container :
120120	docker buildx rm container-builder ||  true 
121- 	docker buildx create --use --name=container-builder
121+ 	#  only moby/buildkit:foreign-mediatype works on building Windows image now
122+ 	#  https://github.com/moby/buildkit/pull/1879
123+ 	#  Github issue: https://github.com/moby/buildkit/issues/1877
124+ 	docker buildx create --use --name=container-builder --driver-opt image=moby/buildkit:v0.7.2
122125ifdef  TEST_WINDOWS 
123126		docker buildx build --no-cache --build-arg LDFLAGS=$(LDFLAGS) -t $(IMAGE_TAG)-linux-amd64 -f docker/Dockerfile --platform="linux/amd64" --push .
124127		docker buildx build --no-cache --build-arg LDFLAGS=$(LDFLAGS) -t $(IMAGE_TAG)-windows-1809-amd64 -f docker/windows.Dockerfile --platform="windows/amd64" --push .
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments