Skip to content

Commit f1a8dc6

Browse files
committed
Fix CI pipeline failure in forked repository (lowlighter#1719)
Author: 尤雨东 <[email protected]>
1 parent 3ec14e1 commit f1a8dc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
1919
&& apt-get install -y curl unzip \
2020
&& curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh \
2121
# Install ruby to support github licensed gem
22-
&& apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev \
22+
&& apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev xz-utils \
2323
&& gem install licensed \
2424
# Install python for node-gyp
2525
&& apt-get install -y python3 \
@@ -30,8 +30,8 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
3030
&& npm run build
3131

3232
# Environment variables
33-
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
34-
ENV PUPPETEER_BROWSER_PATH "google-chrome-stable"
33+
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
34+
ENV PUPPETEER_BROWSER_PATH="google-chrome-stable"
3535

3636
# Execute GitHub action
37-
ENTRYPOINT node /metrics/source/app/action/index.mjs
37+
ENTRYPOINT ["node", "/metrics/source/app/action/index.mjs"]

0 commit comments

Comments
 (0)