texei-sfdx-plugin
texei-sfdx-plugin copied to clipboard
Use texei:sharingcalc commands on a alpine based docker image
I post here just in case someone has the same issue :) (maybe it can be added in documentation)
Default puppeteer embedded chromium does not work on alpine, so to bypass that, the following env variables must be set, and chromium must be installed using apk
RUN apk add --update --no-cache \
chromium \
nodejs \
npm
# Do not use puppeteer embedded chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
ENV CHROMIUM_PATH="/usr/bin/chromium-browser"
ENV PUPPETEER_EXECUTABLE_PATH="${CHROMIUM_PATH}"
cf: https://github.com/puppeteer/puppeteer/issues/3994#issuecomment-817377020
Thanks for the tips, we definitely need to document that.