Skip to content

A multistage Dockerfile that will compile the v8 Javascript engine on alpine linux. It is meant to be used as a stage in another multistage Dockerfile.

Notifications You must be signed in to change notification settings

rqelibari/alpine-v8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Alpine V8

This Dockerfile builds Google's V8 library and tools on alpine. This project is meant to be used in other multistage Dockerfiles to copy the V8 library and include files over. At least that is what I am using it for.

Usage

Include this image in your multistage Dockerfile and copy the V8 lib and includes over. E.g.

FROM rqelibari/alpine-v8:latest as v8
FROM alpine:3.8
...
COPY --from=v8 /root/v8/include /usr/include
COPY --from=v8 /root/v8/lib /usr/lib
...

Author

I am not the author of this Dockerfile. I found this script on a gist of @tylerchr while I was searching for a v8 lib for an alpine image in another project of mine. A huge thanks to him for sharing the results of his efforts.

About

A multistage Dockerfile that will compile the v8 Javascript engine on alpine linux. It is meant to be used as a stage in another multistage Dockerfile.

Resources

Stars

Watchers

Forks

Packages

No packages published