From 8cf4fe41f279ebd709bc77c35807cfea55900297 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 21 Jun 2022 17:19:48 +0100 Subject: [PATCH] fix: re2 docker build error --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 95968997b..c4aa75d83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,10 @@ WORKDIR /app ARG USE_CHINA_NPM_REGISTRY=0 RUN \ set -ex && \ + apt-get update && \ + apt-get install -yq --no-install-recommends \ + build-essential python3 \ + ; \ if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then \ echo 'use npm mirror' && \ npm config set registry https://registry.npmmirror.com && \