-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORV2-1390 Puppetteer experiment #683
Conversation
@@ -1,32 +1,68 @@ | |||
# Build container | |||
FROM node:18.17.1-alpine AS builder | |||
FROM ubuntu:latest as builder |
Check warning
Code scanning / Trivy
':latest' tag used Medium
Type: dockerfile
Vulnerability DS001
Severity: MEDIUM
Message: Specify a tag in the 'FROM' statement for image 'ubuntu'
Link: DS001
RUN wget --no-verbose -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \ | ||
&& apt install -y /tmp/chrome.deb \ | ||
&& rm /tmp/chrome.deb |
Check notice
Code scanning / Trivy
RUN using 'wget' and 'curl' Low
Type: dockerfile
Vulnerability DS014
Severity: LOW
Message: Shouldn't use both curl and wget
Link: DS014
FROM ubuntu:latest as builder | ||
|
||
|
||
RUN apt-get update |
Check failure
Code scanning / Trivy
'RUN <package-manager> update' instruction alone High
Type: dockerfile
Vulnerability DS017
Severity: HIGH
Message: The instruction 'RUN update' should always be followed by ' install' in the same RUN statement.
Link: DS017
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 \ | ||
libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 \ | ||
libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \ | ||
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 ca-certificates \ | ||
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils \ | ||
wget libgbm-dev gnupg gnupg2 gnupg1 |
Check failure
Code scanning / Trivy
'apt-get' missing '--no-install-recommends' High
Type: dockerfile
Vulnerability DS029
Severity: HIGH
Message: '--no-install-recommends' flag is missed: 'apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 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 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev gnupg gnupg2 gnupg1'
Link: DS029
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Description
Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Further comments
Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend - Vehicles available
Backend - DOPS available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow