maylinejix commited on
Commit
6664e6c
·
verified ·
1 Parent(s): 6205ffd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -1,12 +1,11 @@
1
- FROM python:3.10-slim
2
-
3
  RUN apt-get update && apt-get install -y \
4
  wget \
5
  gnupg \
6
  unzip \
7
  curl \
8
- && wget -q -O - https://dl-ssl.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
  && rm -rf /var/lib/apt/lists/*
 
 
 
1
  RUN apt-get update && apt-get install -y \
2
  wget \
3
  gnupg \
4
  unzip \
5
  curl \
6
+ ca-certificates \
7
+ && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome-keyring.gpg \
8
+ && sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' \
9
  && apt-get update \
10
  && apt-get install -y google-chrome-stable \
11
  && rm -rf /var/lib/apt/lists/*