File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 11#  syntax=docker/dockerfile:1.16.0@sha256:e2dd261f92e4b763d789984f6eab84be66ab4f5f08052316d8eb8f173593acf7
22#  check=error=true
33
4- #  FROM stackable/image/opa AS opa
54FROM  stackable/image/java-devel
65
76ARG  PRODUCT
@@ -12,16 +11,12 @@ WORKDIR /stackable
1211
1312COPY  --chown=${STACKABLE_USER_UID}:0 kafka/kafka-opa-plugin/stackable/patches/patchable.toml /stackable/src/kafka/kafka-opa-plugin/stackable/patches/patchable.toml
1413COPY  --chown=${STACKABLE_USER_UID}:0 kafka/kafka-opa-plugin/stackable/patches/${PRODUCT} /stackable/src/kafka/kafka-opa-plugin/stackable/patches/${PRODUCT}
15- #  COPY --chown=${STACKABLE_USER_UID}:0 --from=opa /stackable/opa/opa /usr/local/bin/opa
1614
1715RUN  <<EOF
1816cd "$(/stackable/patchable --images-repo-root=src checkout kafka/kafka-opa-plugin ${PRODUCT})" 
1917
2018#  Create snapshot of the source code including custom patches
2119tar -czf /stackable/kafka-opa-plugin-${PRODUCT}-src.tar.gz .
2220
23- #  TODO: Try to install gradle via package manager (if possible) instead of fetching it from the internet
24- #  We don't specify "-x test" to skip the tests, as we might bump some Kafka internal dependencies in the future and
25- #  it's a good idea to run the tests in this case.
2621./gradlew clean shadowJar
2722EOF
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments