Add licenses plugin (#118)

This commit is contained in:
Simon Lecoq
2021-02-11 21:39:40 +01:00
committed by GitHub
parent 1f59169b11
commit 783e2b453b
12 changed files with 730 additions and 3 deletions

View File

@@ -16,12 +16,13 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
# Install ruby to support linguist
# Based on https://github.com/github/linguist
# Install ruby to support github gems
# Based on https://github.com/github/linguist and https://github.com/github/licensed
&& apt-get update \
&& 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 \
&& gem install licensed \
# Install python for node-gyp
&& apt-get update \
&& apt-get install -y python3 \