Skip to content

Commit 39a4b67

Browse files
committed
Download chrome for testing purpouses
1 parent 92fc905 commit 39a4b67

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

frontend/test.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Use a pre-built Flutter image from GitHub Container Registry
22
FROM ghcr.io/cirruslabs/flutter:3.32.4
33

4+
# Install chrome to be a test device
5+
RUN apt-get update && apt-get install -y \
6+
wget \
7+
gnupg \
8+
&& wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
9+
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' \
10+
&& apt-get update \
11+
&& apt-get install -y google-chrome-stable \
12+
&& apt-get clean \
13+
&& rm -rf /var/lib/apt/lists/*
14+
415
# Set working directory
516
WORKDIR /app
617

0 commit comments

Comments
 (0)