diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 396a22d452..8c98b99e65 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,4 +2,4 @@ # it will be more efficient to change the image. # See https://github.com/devcontainers/images/blob/main/src/ruby/history/ FROM mcr.microsoft.com/devcontainers/ruby:dev-3.2-buster -RUN apt -y update && apt install -y vim curl gpg postgresql postgresql-contrib +RUN apt -y update && apt install -y vim curl gpg postgresql postgresql-contrib chromium \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 87c12cd44b..ee345ad95f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -16,5 +16,10 @@ } }, + // DOCKER env variable passed to Cuprite to enable --no-sandbox so Chrome can run in Docker + "remoteEnv": { + "DOCKER": "true" + }, + "postCreateCommand": ".devcontainer/post-create.sh" }