From 2191ebe4103f20f711dd2e442269801ba66cef63 Mon Sep 17 00:00:00 2001 From: Asaf Peleg Date: Thu, 8 Oct 2020 22:57:19 -0400 Subject: [PATCH] Fix error when running jest-puppeteer on CI 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 https://github.com/buildkite/docker-puppeteer/issues/128 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 139ad44..e644fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \