Open URZ-HD opened 2 years ago
Hm, it looks like an problem between updated node.js and webpack: https://stackoverflow.com/questions/69665222/node-17-0-1-causes-some-error-digital-envelope-routinesunsupported
Adding export NODE_OPTIONS=--openssl-legacy-provider
in client/package.json
solves the issue for me. But I think this might be not the best solution ?
I need to update all packages to solve this issue. The main problem is, that Node 17 is used as the new stable version and does not support OpenSSL legancy providers by default.
https://github.com/infiniband-radar/infiniband-radar-web/blob/3c9e64c92abc48b7bcc658f441cb19bc52044e1a/Dockerfile-client#L2 https://github.com/infiniband-radar/infiniband-radar-web/blob/3c9e64c92abc48b7bcc658f441cb19bc52044e1a/Dockerfile-client#L19
The server on the other hand uses a fixed node version https://github.com/infiniband-radar/infiniband-radar-web/blob/3c9e64c92abc48b7bcc658f441cb19bc52044e1a/Dockerfile-server#L1
Hi, after a while i have to build a new container of the ibradar tools on our system. But this time the client service does not build successfully. It looks like an issue with a updated npm or ssl version ?
I'm building with
docker-compose build --force-rm --no-cache
to ignore local caches, etcWe have not changed anything in our config or environment. the used docker-compose.yml looks like:
Is this a known problem ?
best, Sven