-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
22 lines (18 loc) · 1012 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM node:20
RUN npm install --global @salesforce/sfdx-scanner
RUN npm install --global dxb
RUN npm install --global @cparra/apexdocs
RUN npm install --global sfdx-cli --force
RUN sfdx plugins:link $(npm root -g)/dxb
RUN sfdx plugins:link $(npm root -g)/@salesforce/sfdx-scanner
RUN npm install --global vlocity
RUN export PUPPETEER_SKIP_DOWNLOAD=true && npm install --global puppeteer --unsafe-perm
#add usefull tools
RUN apt-get update && apt-get install -y jq && apt-get -y install default-jdk
RUN apt-get update -qq && \
apt-get -qqy install gnupg wget && \
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
apt-get -qqy --no-install-recommends install chromium && \
rm -f -r /var/lib/apt/lists/*
RUN /usr/bin/chromium --no-sandbox --version > /etc/chromium-version