Skip to content

Commit a9b2ca7

Browse files
committed
Pin chrome version in nihms token refresh docker
To fix testcafe automation issue with chrome 142.x
1 parent 2d8aff3 commit a9b2ca7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pass-nihms-loader/nihms-token-refresh/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM --platform=linux/amd64 node:20
22

3+
ENV CHROME_VERSION=141.0.7390.122-1
4+
35
RUN apt-get update \
46
&& apt-get --no-install-recommends install -y xauth \
57
&& apt-get --no-install-recommends install -y xvfb \
6-
&& curl https://dl-ssl.google.com/linux/linux_signing_key.pub -so - | apt-key add - \
7-
&& echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
8+
&& curl -O https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \
89
&& apt-get update \
9-
&& apt-get --no-install-recommends -y install google-chrome-stable \
10+
&& apt-get install -y ./google-chrome-stable_${CHROME_VERSION}_amd64.deb \
1011
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -so "awscliv2.zip" \
1112
&& unzip awscliv2.zip \
1213
&& ./aws/install \

0 commit comments

Comments
 (0)