texei-sfdx-plugin icon indicating copy to clipboard operation
texei-sfdx-plugin copied to clipboard

Use texei:sharingcalc commands on a alpine based docker image

Open nvuillam opened this issue 3 years ago • 1 comments

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

nvuillam avatar Apr 11 '21 21:04 nvuillam

Thanks for the tips, we definitely need to document that.

FabienTaillon avatar Apr 13 '21 08:04 FabienTaillon