Actions
Defect #2592
closedCzechIdM container with 10.6.3 cannot rebuild application with idm-tool
Start date:
11/27/2020
Due date:
% Done:
0%
Estimated time:
Affected versions:
Owner:
Description
CzechIdM 10.4.0 was released with upgraded libraries: node, npm, npx. Currently idm-tool can bootstrap node and npm, but cannot bootstrap npx (limitation of used maven plugin).
The unattended build inside container now fails with
11-27 11:20:00.764 INFO --- [ main] e.b.idm.tool.service.impl.MavenManager : [INFO] sh: npx: command not found
IdM in container cannot rebuild itself, therefore it cannot integrate user-supplied modules. Only plain product can be deployed using the standard container.
This can be (hardly) worked-around by supplying whole WAR to the image build process and make
docker build ...
produce complete image including all customizations.Blocker for releasing updated IdM image.
I discussed this with Radek: From IdM standpoint, the npx binary is a build workaround which we need only until we migrate to gulp 4 (in a few months).
Probably the best way is to implement npx install inside the container. We could also just "know issue" this but I am not really sure if it is viable.
Bussiness feedback needed.
Actions