Skip to content

Commit 4a4f98c

Browse files
committed
install java
1 parent b033bb6 commit 4a4f98c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/docker/playwright.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ ARG YARN_VERSION
99
# Prevent interactive prompts during package installation
1010
ENV DEBIAN_FRONTEND=noninteractive
1111

12-
# Install zstd (required by actions/cache for compression) and Node.js + Yarn
13-
# at the versions pinned in the repo's package.json.
12+
# Install zstd (required by actions/cache for compression), a JRE for Firebase
13+
# emulators (Firestore, etc. spawn `java -version`), and Node.js + Yarn at the
14+
# versions pinned in the repo's package.json.
1415
RUN sudo apt-get update && \
15-
sudo apt-get install -y --no-install-recommends zstd && \
16+
sudo apt-get install -y --no-install-recommends zstd openjdk-17-jre-headless && \
1617
sudo rm -rf /var/lib/apt/lists/*
1718
RUN sudo curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION%%.*}.x | sudo bash - && \
1819
sudo apt-get install -y --no-install-recommends nodejs && \

0 commit comments

Comments
 (0)