Replace github-linguist gem with Node port Nixinova/Linguist (#436)

This commit is contained in:
Nixinova
2021-08-01 22:54:03 +12:00
committed by GitHub
parent fbd0944a55
commit 9e77a1b2c0
5 changed files with 54 additions and 20 deletions

View File

@@ -19,7 +19,6 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
# Based on https://github.com/github/linguist and https://github.com/github/licensed
&& apt-get install -y ruby-full \
&& apt-get install -y git g++ cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev \
&& gem install github-linguist -v 7.15.0 \
&& gem install licensed \
# Install python for node-gyp
&& apt-get install -y python3 \
@@ -35,4 +34,4 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV PUPPETEER_BROWSER_PATH "google-chrome-stable"
# Execute GitHub action
ENTRYPOINT node /metrics/source/app/action/index.mjs
ENTRYPOINT node /metrics/source/app/action/index.mjs