Skip to content

Commit

Permalink
build: fix docker build env (#27203)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Feb 9, 2024
1 parent 8125239 commit 1fd9be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile
Expand Up @@ -18,6 +18,7 @@ FROM slim-base as build
WORKDIR /usr/local/renovate

ENV CI=1 npm_config_modules_cache_max_age=0
ENV RE2_DOWNLOAD_MIRROR=https://github.com/containerbase/node-re2-prebuild/releases/download RE2_DOWNLOAD_SKIP_PATH=1

COPY pnpm-lock.yaml ./

Expand All @@ -27,7 +28,6 @@ RUN pnpm fetch --prod
COPY . ./

# install
ENV RE2_DOWNLOAD_MIRROR=https://github.com/containerbase/node-re2-prebuild/releases/download RE2_DOWNLOAD_SKIP_PATH=1
RUN set -ex; \
pnpm install --prod --offline --ignore-scripts; \
npm explore re2 -- npm run install; \
Expand Down

0 comments on commit 1fd9be0

Please sign in to comment.