Skip to content

Commit

Permalink
Remove examples/included-as-non-root-alternative (#1128)
Browse files Browse the repository at this point in the history
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
  • Loading branch information
MikeMcC399 and jennifer-shehane authored Jun 28, 2024
1 parent 1943f24 commit 50ef26a
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 79 deletions.
26 changes: 0 additions & 26 deletions examples/included-as-non-root-alternative/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions examples/included-as-non-root-alternative/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions examples/included-as-non-root-alternative/build.sh

This file was deleted.

5 changes: 0 additions & 5 deletions examples/included-as-non-root-alternative/src/cypress.json

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions examples/included-as-non-root-alternative/src/index.html

This file was deleted.

15 changes: 0 additions & 15 deletions examples/included-as-non-root-alternative/test.sh

This file was deleted.

3 changes: 1 addition & 2 deletions included/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ docker run -it --cpus=0.2 -e DEBUG=cypress:launcher:* --entrypoint=cypress cypre

- [examples/included-as-non-root](../examples/included-as-non-root) describes how to run tests as non-root user `node` using a `cypress/included` image

The following examples are built on `cypress/included:3.8.0` and have not yet been updated to demonstrate current Cypress versions:
The following example is built on a legacy version of Cypress and has not yet been updated to demonstrate current Cypress versions:

- [examples/included-as-non-root-alternative](../examples/included-as-non-root-alternative) shows another approach to allow built-in non-root user `node` to run tests using `cypress/included` image.
- [examples/included-as-non-root-mapped](../examples/included-as-non-root-mapped) shows how to build a Docker image on top of `cypress/included` that runs with a non-root user that matches the id of the user on the host machine. This way, the permissions on any files created during the test run match the user's permissions on the host machine.

## Using plugins
Expand Down

0 comments on commit 50ef26a

Please sign in to comment.