File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ RUN apt-get update -y && apt-get install -y subversion && \
9090RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
9191 sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' && \
9292 apt-get update -y && \
93- apt-get install -y google-chrome-stable xvfb poppler-utils git && \
93+ apt-get install -y google-chrome-stable xvfb poppler-utils git libnss3-tools && \
9494 rm -rf /var/lib/apt/lists/* && apt-get clean
9595
9696COPY package.json /var/www/image-exporter/
Original file line number Diff line number Diff line change 22
33fc-cache -v /usr/share/fonts/user
44
5+ # Install certificates present in data directory
6+ if [[ -d /data/ssl/ ]]; then
7+ echo " Adding custom certificates..."
8+ for CERT in ` ls /data/ssl/* .crt` ; do
9+ echo " Adding:" $i
10+ certutil -d sql:$HOME /.pki/nssdb -A -t " P,," -n $CERT -i $CERT
11+ done
12+ fi
13+
514BUILD_DIR=/var/www/image-exporter/build
615if [[ -n " ${PLOTLY_JS_SRC} " ]]; then
716 # Fetch plotly js bundle and save it locally:
You can’t perform that action at this time.
0 commit comments