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

Describe and demonstrate base and browsers non-root usages #1272

Open
MikeMcC399 opened this issue Jan 2, 2025 · 1 comment
Open

Describe and demonstrate base and browsers non-root usages #1272

MikeMcC399 opened this issue Jan 2, 2025 · 1 comment
Assignees

Comments

@MikeMcC399
Copy link
Collaborator

What would you like?

Describe and demonstrate how to use cypress/base and cypress/browsers Docker images with a non-root user. Discuss workarounds for Cypress' issues running in read-only environments.

Why is this needed?

Currently only the cypress/included README contains a section with the linked example examples/included-as-non-root demonstrating how to run cypress/included with the built-in node user.

There is no equivalent description and example using cypress/base and cypress/browsers Docker images with the node non-root user.

Other

When running from a custom Docker image built from either a cypress/base or a cypress/browsers Docker image, using a Dockerfile, the following issues may be encountered, due to the default Docker build process using the root user, leaving a non-root user such as node only read access:

@MikeMcC399
Copy link
Collaborator Author

MikeMcC399 commented Jan 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant