Common Dockerfiles, used for development.
docker build --build-arg V8_VERSION=stable --rm -t v8 github.com/AlexMasterov/dockerfiles.git#:alpine-v8
V8_VERSION >= 6.1.211 | 6.1 | dev | beta | stable | latest
How do I get an archive with V8?
docker run --rm -v "$(pwd)/:/archive" v8 sh -c 'tar cvzf /archive/libv8-${V8_VERSION}.tar.gz *'
How do I get shell (d8)?
docker build \
--build-arg V8_VERSION=stable \
--build-arg V8_SHELL=YES \
--rm -t v8 github.com/AlexMasterov/dockerfiles.git#:alpine-v8
docker run --rm -it v8 d8
How do I get static libraries (.a)?
docker build \
--build-arg V8_VERSION=stable \
--build-arg V8_STATIC_LIB=YES \
--rm -t v8 github.com/AlexMasterov/dockerfiles.git#:alpine-v8
How do I get monolithic static library (.a)?
docker build \
--build-arg V8_VERSION=stable \
--build-arg V8_MONOLITHIC=YES \
--rm -t v8 github.com/AlexMasterov/dockerfiles.git#:alpine-v8
I have build issues
I get this error message:
ERROR at //gni/v8.gni:103:3: Dependency not allowed.
target(link_target_type, target_name) {
^--------------------------------------
The item //src/inspector:inspector
can not depend on //:features
because it is not in //:features's visibility list: [
//.:*
]
Try to use:
--build-arg USE_GN_SOURCE=YES
--build-arg USE_GN_SOURCE=YES --build-arg GN_SOURCE_REV=9434c3d281eefb5c3764b5a0575feec9c59bd095
GN_SOURCE_REV
can be any revision on the working repository: gn.googlesource.com/gn.
docker build --build-arg PHP_VERSION=8.0 --rm -t php github.com/AlexMasterov/dockerfiles.git#:alpine-php
PHP_VERSION >= 7.0.0 | 7.0