File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ FROM golang:1.12-alpine as builder
22RUN  apk --no-cache add make git
33WORKDIR  /
44COPY  . /
5- RUN  make linux 
5+ RUN  make build 
66
77FROM  alpine:latest
88RUN  apk --no-cache add ca-certificates
9- COPY  --from=builder /bin/linux/amd64/ kubeval .
9+ COPY  --from=builder /bin/kubeval .
1010RUN  ln -s /kubeval /usr/local/bin/kubeval
1111ENTRYPOINT  ["/kubeval" ]
1212CMD  ["--help" ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN make build
66
77FROM bats/bats:v1.1.0
88RUN apk --no-cache add ca-certificates
9- COPY --from=builder /bin/linux/amd64/ kubeval /usr/local/bin
9+ COPY --from=builder /bin/kubeval /usr/local/bin
1010COPY acceptance.bats /acceptance.bats
1111COPY fixtures /fixtures
1212RUN "/acceptance.bats"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM golang:1.12-alpine as builder
22RUN apk --no-cache add make git
33WORKDIR /
44COPY . /
5- RUN make linux 
5+ RUN make build 
66
77FROM alpine:latest as schemas
88RUN apk --no-cache add git
@@ -15,7 +15,7 @@ RUN cd kubernetes-json-schema/master && \
1515
1616FROM alpine:latest
1717RUN apk --no-cache add ca-certificates
18- COPY --from=builder /bin/linux/amd64/ kubeval .
18+ COPY --from=builder /bin/kubeval .
1919COPY --from=standalone-schemas /kubernetes-json-schema /schemas/kubernetes-json-schema/master
2020COPY --from=standalone-schemas /openshift-json-schema /schemas/openshift-json-schema/master
2121ENV KUBEVAL_SCHEMA_LOCATION=file:///schemas
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments