Using with Laravel Sail #591
Unanswered
garbinmarcelo
asked this question in
Q&A
Replies: 2 comments 9 replies
-
At first you have to publish Sail's Dockerfiles. Then put the following into the Dockerfile # ...
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm-dev libxshmfence-dev \
&& npm install --global --unsafe-perm puppeteer \
&& chmod -R o+rx /usr/lib/node_modules/puppeteer/.local-chromium \
# ... Then rebuild the containers. Bear in mind that there is a caveat when using Browsershot and Sail. You can read about it here: #516 (comment) |
Beta Was this translation helpful? Give feedback.
6 replies
-
I added a guide for getting Browsershot up and running with laravel Sail on M1 macs here: #711 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
How can I use this pack with Laravel Sail? Any tips for installing with the Sail build?
I tried to add the following to the Dockerfile:
But there is an error, I've been doing this for a while, all help is welcome.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions