[CentOS] mkdtemp on CentOS 7

Sat Mar 6 22:31:41 UTC 2021
H <agents at meddatainc.com>

I am trying to compile DeltaChat in a CentOS 7 docker container and at one stage have to run:

npm install --global electron

but the above fails, seemingly because CentOS 7 does not have 'mkdtemp', nor have I found it in a repository.

I had previously used:

npm install electron --save-dev

which installs fine but does not seem to use mkdtemp.

yum provides mkdtemp

ends up not finding anything but perhaps someone knows this better?