File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,20 @@ RUN chmod +x /metrics/source/app/action/index.mjs \
1515 && apt-get update \
1616 && 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 \
1717 && apt-get install -y ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils \
18- && rm -rf /var/lib/apt/lists/* \
1918 # Install ruby to support github gems
2019 # Based on https://github.com/github/linguist and https://github.com/github/licensed
21- && apt-get update \
2220 && apt-get install -y ruby-full \
2321 && apt-get install -y git g++ cmake pkg-config libicu-dev zlib1g-dev libcurl4-openssl-dev libssl-dev ruby-dev \
2422 && gem install github-linguist \
2523 && gem install licensed \
2624 # Install python for node-gyp
27- && apt-get update \
2825 && apt-get install -y python3 \
2926 # Install node modules
3027 && cd /metrics \
3128 && npm ci \
3229 # Rebuild indexes
33- && npm run index
30+ && npm run index \
31+ && rm -rf /var/lib/apt/lists/*
3432
3533# Environment variables
3634ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
You can’t perform that action at this time.
0 commit comments