Skip to content

Commit

Permalink
fix: re2 docker build error
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jun 21, 2022
1 parent 5c41774 commit 8cf4fe4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 8cf4fe4

Please sign in to comment.