Skip to content

Instantly share code, notes, and snippets.

View weestack's full-sized avatar

Alexander Høgh weestack

View GitHub Profile
@weestack
weestack / compile v8js for linux 6.10 (Debian bookworm)
Created September 17, 2024 11:40
# Once done copy /opt/v8 and /usr/local/lib/php/extensions/no-debug-non-zts-20180731/v8js.so to the server needing the binary into their respective places
FROM php:7.3-fpm as BASE_PHP
ENV V8_VERSION=9.9.115.9
RUN apt-get update -y --fix-missing && apt-get upgrade -y;
# Install v8js (see https://github.com/phpv8/v8js/blob/php7/README.Linux.md)
RUN apt-get install -y --no-install-recommends \
libtinfo5 libtinfo-dev \
build-essential \
curl \
@weestack
weestack / Dockerfile
Last active September 17, 2024 11:47
V8js compile for Linux 6.10 to be used for debian bookworm or ubuntu 2024
FROM php:7.3-fpm as BASE_PHP
ENV V8_VERSION=9.9.115.9
RUN apt-get update -y --fix-missing && apt-get upgrade -y;
# Install v8js (see https://github.com/phpv8/v8js/blob/php7/README.Linux.md)
RUN apt-get install -y --no-install-recommends \
libtinfo5 libtinfo-dev \
build-essential \
curl \