Skip to content

Commit

Permalink
Change to new docker image for testing
Browse files Browse the repository at this point in the history
The Eclispe CDT project provides for our convenience a docker image
that makes testing on Windows easier. Due to recent change the image
name has changed.

See eclipse-cdt/cdt#907
  • Loading branch information
jonahgraham committed Sep 24, 2024
1 parent a7e612b commit dbc968b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ in the same environment as it is run on the CI machine.
To do this, simply prefix the desired command (such as `yarn`) with this
command to run it in docker.

`docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest`
`docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-plus-node:latest`

For example, to build and test:

```
docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest yarn
docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-eclipse-full:latest yarn test
docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-plus-node:latest yarn
docker run --rm -it -v $(git rev-parse --show-toplevel):/work -w /work/$(git rev-parse --show-prefix) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined quay.io/eclipse-cdt/cdt-infra-plus-node:latest yarn test
```

## "Error: No source file name /work/..."
Expand Down

0 comments on commit dbc968b

Please sign in to comment.