Skip to content

Commit e3aff5f

Browse files
author
mike dupont
committed
now adding strace
1 parent c94f86d commit e3aff5f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ RUN pnpm install jest
3232
COPY run-jest-tests.sh /app/run-jest-tests.sh
3333
COPY jest.config.js /app/jest.config.js
3434

35+
RUN apt update
36+
RUN apt install -y strace
37+
3538
CMD [ "pnpm", "run", "test" ]
3639

3740
#RUN pnpm run test || echo skip errors

docker-compose.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ services:
88
environment:
99
- PROOF_LEVEL=full
1010
- LOG_LEVEL=Debug
11-
working_dir: /app
11+
working_dir: /app
12+
cap_add:
13+
- SYS_PTRACE
14+
command: "strace -f -o strace.txt pnpm run test"

0 commit comments

Comments
 (0)