Closed vortec closed 8 years ago
What architecture/system are you building on? You might need to build the snapshot separately and then mark it with paxctl before continuing – you can do a search for how apk does this with their node.js package.
I'm running Debian Linux and Docker version 1.10.3, build 20f81dd, does that help?
I will read into what paxctl is.
Apparently that issue can occur when using a Grsecurity/PaX kernel – which I never have, so I haven't run into it.
Try adding a couple of steps before the make
step:
...
make -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) -C out mksnapshot BUILDTYPE=Release && \
paxctl -cm out/Release/mksnapshot && \
make -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
make install && \
...
Unfortunately the same error.
Try passing --without-snapshot
to the make command as well
@mhart thanks for your effort!
I passed --without-snapshot
to the ./configure
command (as the make
command didn't accept it). Unfortunately I'm getting the same error still. 😕
I recently ran into this with Docker Automated Builds – I found the only way I could reliably solve it was to do this: https://github.com/mhart/alpine-node/commit/c0f3a406568524340bc1bab34d390cff7172ee6d – I hope this solves it for you too. (if not, feel free to reopen)
That worked! Thanks a lot!
Actually discovered a simpler way too: https://github.com/mhart/alpine-node/commit/9814b1dd3e419aca3a11f95b4791d1d26010984e
Hi, I was trying to rebuild the image, but getting the following error: