Closed kklot closed 3 years ago
Not yet. I could try to build one, this is what I used : https://github.com/jeroen/build-v8-static
Which version of alpine do you use?
I use latest tag, so it should be 3
, not sure the edge
tag would have any benefits in compiling.
Should work now, can you try pls
Thanks, I tempted to try that new code in jeroen/build-v8-static
but too complicated for me. But now how should I install V8
with that one? still failed on alpine:latest
image below (ran DOWNLOAD_STATIC_LIBV8=1; install.packages("V8")
after open the image sh).
FROM alpine:latest
RUN apk add R-dev R-doc R git libxml2-dev musl-dev g++
This works for me in R on alpine:latest
Sys.setenv(DOWNLOAD_STATIC_LIBV8=1)
install.packages("V8")
Doesn't that work for you? What error do you see?
Sorry, it works, I missed Sys.setenv
.
Is it possible to provide a static version compiled on
alpine
linux with this option? I think the two versions provided were compiled withglibc
which does not work onalpine
(error such as__fprintf_chk not found
).