Open rolivieri opened 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
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.