Closed musgovalerio closed 1 month ago
From your initial evidence, you're trying to build with icr.io/appc-dev/ace-server@sha256:a41f7501fe4025d2705bcabf1ad2ff523bcaf9ec263b98054501de1fc0cf5f62
as the base/from image, but from the build logs, it's pulling icr.io/appc-dev/ace-server@sha256:68c6ad08a5677bba90c063e1784f28c858dd4921de1658027c037f5d6629b3b8
Looking inside that image (ace-server@sha256:68c6...
) shows that /opt/ibm/ace-12
doesn't exist, but /opt/ibm/ace-11
does...
$# docker run --rm -it --entrypoint bash icr.io/appc-dev/ace-server@sha256:68c6ad08a5677bba90c063e1784f28c858dd4921de1658027c037f5d6629b3b8
[aceuser@a0eb38882d95 ~]$ ls /opt/ibm/
ace-11
i.e. that's an old ACE v11 image...
Can you try running your build command and specify the exact image to build from, i.e.
docker build -t aceapp --build-arg FROMIMAGE=icr.io/appc-dev/ace-server@sha256:a41f7501fe4025d2705bcabf1ad2ff523bcaf9ec263b98054501de1fc0cf5f62 --file Dockerfile .
@musgovalerio The samples in this repo are designed to extend the base ACE image not the ace-server image from the App Connect Operator release. You'll want to use an image from the list at https://www.ibm.com/docs/en/app-connect/12.0?topic=cacerid-building-sample-app-connect-enterprise-image-using-docker#aceimages__title__1 in your FROM or in the buildarg as @andyedwardsibm suggested.
@musgovalerio We have recently updated this repo here https://github.com/ot4i/ace-docker/pull/201 for 12.0.10.0 so hopefully this will help with your issue.
/Stale
Hello!
I have problems extending base ACE 12 image using BARs Sample. I haven't modified any file, just executed the command described in the BARs Sample page, changing the FROMIMAGE parameter to my base ACE 12 image, and the command did not finished because mqsiprofile was not found. The thing is that the base image works if I run it, so I don't know how to solve this problem.
Here is the docker version info:
I got ACE 12 for developer image from IBM repo:
The build command I used:
docker build -t aceapp --build-arg FROMIMAGE=icr.io/appc-dev/ace-server --file Dockerfile .
The output from the command above:
Please can you help me solving this problem?
Regards
Hugo Medina