9/13/2023 0 Comments Chromium for mac m1I have checked the installed versions using my Dockerfile and I got: # the install is retry threee times with a pause of 10 secondsĬMD īeware that the Chromium version installed via apt might not be completely compatible with the puppeteer version: double check the compatibility via ![]() # Run everything after as non-privileged user. RUN chown -R pptruser:pptruser /home/pptruser & chown -R pptruser:pptruser /home/pptruser RUN groupadd -r pptruser & useradd -r -g pptruser -G audio,video pptruser \ & apt install -qq -y -no-install-recommends \įonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst \ĮNV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=trueĮNV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium RUN yarn global add for rosetta emulation at this point since a native arm64 binary doesn't exist yet, but so far my attempts at running an amd64 version on an M1 result in qemu crashing when attempting to launch puppeteer. & apt-get clean & apt-get autoremove -y & rm -rf /var/lib/apt/lists/* ![]() Libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils \ Libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 \ Libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 \ # Consult the Debian dependencies list for an updates when bumping Puppeteer or base images:Ĭa-certificates fonts-liberation libayatana-appindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 \ # Install Chromium dependencies, necessary for running Puppeteer RUN apt-get update & apt-get install -no-install-recommends -yq dumb-init \ The only relevant bits to this issue are the ENV statements, and adding chromium to the packages installed by the package manager. which is mostly based on the "Running Puppeteer in Docker" section of the Puppeteer troubleshooting docs: & chown -R pptruser:pptruser /home/pptruser \ Chrome also has a native ad blocker, highlighting unsafe websites.Msttcorefonts-installer font-noto fontconfig \įreetype ttf-dejavu ttf-droid ttf-freefont ttf-liberation \ĮNV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD trueĮNV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser Chrome focuses on security and loads all websites as a separate process for better security. It is a pretty solid alternative to Safari because it is available on various devices and because of data syncing on all devices via your Google Account.Ĭhrome also comes with a massive collection of Extensions that can improve your browsing experience. You may have heard of Google Chrome as it has been one of the most popular web browsers for a long time. Google Chrome is potentially the best browser for macOS. It is the best browser for macOS you can get.Įngine: Webkit, Nitro 3. However, Safari is the Best Browser for macOS due to its efficiency and features like protection against tracking and an in-built reading mode. One drawback with Safari is that the collection of extensions is not even close to Google Chrome or Firefox. Safari has many features that aren’t available in other browsers, such as tracking protection against websites, a built-in reading mode, and a keychain password management system. Safari is pretty smooth and is one of the minor power-hungry browsers for macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |