Skip to content

Instantly share code, notes, and snippets.

@billywhizz
Last active August 5, 2022 00:17
Show Gist options
  • Save billywhizz/7c4c7cafeb0792256e44c13405bbef2e to your computer and use it in GitHub Desktop.
Save billywhizz/7c4c7cafeb0792256e44c13405bbef2e to your computer and use it in GitHub Desktop.
Build JavaScriptCore on docker
FROM ubuntu:latest
RUN apt update
RUN apt upgrade -y
RUN apt install -y perl cmake g++ gcc ruby icu-devtools libicu-dev git
WORKDIR /JavaScriptCore
RUN git clone --single-branch --branch master --depth 1 git://git.webkit.org/WebKit.git
WORKDIR /JavaScriptCore/WebKit
RUN Tools/gtk/install-dependencies
RUN CFLAGS=-g CXXFLAGS=-g Tools/Scripts/build-webkit --jsc-only --release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment