Skip to content

Commit 986ae78

Browse files
authored
Install libraries required by Chrome webdriver. (#115)
1 parent 1502f44 commit 986ae78

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
88
pkg-config \
99
zip unzip \
1010
python \
11-
git \
12-
libnss3-dev
11+
git
1312

1413
# Install Bazel
1514
ARG BAZELISK_VERSION=v1.10.1
@@ -34,6 +33,13 @@ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal
3433
RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" \
3534
&& brew install pnpm
3635

36+
# Install packages required for running Chrome in integration tests.
37+
# We don't technically require the full package since we pull it in hermetically
38+
# with Bazel, but this will ensure that any dependencies are installed.
39+
RUN export DEBIAN_FRONTEND=noninteractive \
40+
&& apt-get install -y --no-install-recommends \
41+
chromium-driver
42+
3743
# Clean extraneous packages and files
3844
RUN apt-get autoremove -y \
3945
&& apt-get clean -y \

0 commit comments

Comments
 (0)