IBM / cp4waiops-connectors-java-template

A repository to host the Java template for new AIOps Connectors
Apache License 2.0
4 stars 20 forks source link

Dockerfile points to non-existent tar file #6

Open rolivieri opened 1 year ago

rolivieri commented 1 year ago

Dockerfile points to non-existent tar file: https://github.com/IBM/cp4waiops-connectors-java-template/blob/main/container/Dockerfile#L11 --> https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz

I had to change it to https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz to get it to work.

Screenshot 2023-02-07 at 9 10 59 PM

rolivieri commented 1 year ago

@sghung Also, could you add the --platform flag to this line? --> https://github.com/IBM/cp4waiops-connectors-java-template/blob/main/container/Dockerfile#L27

Otherwise, the build fails on newer macs; this is how it looks on my fork: https://github.com/rolivieri/cp4waiops-connectors-java-template/blob/main/container/Dockerfile#L27

FROM --platform=linux/amd64 icr.io/appcafe/websphere-liberty:22.0.0.9-kernel-java11-openj9-ubi