Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install libnss when puppeteer is used #294

Closed
Milo123459 opened this issue Jul 11, 2022 · 3 comments
Closed

Install libnss when puppeteer is used #294

Milo123459 opened this issue Jul 11, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Milo123459
Copy link
Collaborator

We need to install libnss via apt. It is probably worth overhauling the current solution to check if packages are installed and make one-function, purpose-built for this.

@coffee-cup coffee-cup added enhancement New feature or request good first issue Good for newcomers labels Jul 18, 2022
@Milo123459 Milo123459 assigned Milo123459 and unassigned Milo123459 Jul 22, 2022
@Milo123459 Milo123459 self-assigned this Aug 5, 2022
@thawankeane
Copy link

It can be done with NIXPACKS_APT_PKGS environment variable.

See https://nixpacks.com/docs/config#environment-variables

@JakeCooper
Copy link
Contributor

Would be good to, if we can detect it, install the required application packages

@wyzlle got it working using. This is a great first issue for new contributors!

NIXPACKS_APT_PKGS="libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgbm1 libasound2 libpangocairo-1.0-0 libxss1 libgtk-3-0" 

@JakeCooper
Copy link
Contributor

This has been resolved by #416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants