Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Fix error when running jest-puppeteer on CI
Browse files Browse the repository at this point in the history
Currently utilizing the image to execute tests using jest-puppeteer in
a CI environment the test suite throws an undhandled exception resulting
in the CI job to fail even when the tests pass.
Adding `ps` via unix package `procps` neatly solves the problem.

See issue #128
  • Loading branch information
Asaf Peleg committed Oct 9, 2020
1 parent 139283c commit 2191ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM node:12.18.3-buster-slim@sha256:dd6aa3ed10af4374b88f8a6624aeee7522772bb08e8dd5e917ff729d1d3c3a4f

RUN apt-get update \
&& apt-get install -y wget gnupg ca-certificates \
&& apt-get install -y wget gnupg ca-certificates procps \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
Expand Down

0 comments on commit 2191ebe

Please sign in to comment.