fix: re2 docker build error

This commit is contained in:
DIYgod
2022-06-21 17:19:48 +01:00
parent 5c41774414
commit 8cf4fe41f2
+4
View File
@@ -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 && \