aboutsummaryrefslogtreecommitdiff
path: root/projects/hermes/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hermes/Dockerfile')
-rw-r--r--projects/hermes/Dockerfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/projects/hermes/Dockerfile b/projects/hermes/Dockerfile
index eb59a38da..70f4293fc 100644
--- a/projects/hermes/Dockerfile
+++ b/projects/hermes/Dockerfile
@@ -16,9 +16,16 @@
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && \
- apt-get install -y make autoconf automake libtool wget libicu-dev \
- ninja-build python zip libreadline-dev libatomic-ops-dev
+ apt-get install -y make autoconf automake libtool wget \
+ python zip libreadline-dev libatomic-ops-dev
+
+RUN pip3 install meson ninja
+RUN ln -s /usr/local/bin/ninja /usr/bin/ninja
+
+RUN wget https://github.com/unicode-org/icu/archive/refs/tags/cldr/2021-08-25.tar.gz && \
+ tar xzvf ./2021-08-25.tar.gz && \
+ mv ./icu-cldr-2021-08-25/icu4c $SRC/icu
RUN git clone https://github.com/facebook/hermes.git
-WORKDIR hermes
+WORKDIR $SRC
COPY build.sh $SRC/