Skip to content

Commit

Permalink
use gpg for key handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Sep 25, 2024
1 parent 5a396c2 commit 1740e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions novel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ENV TZ=Europe/London
RUN apt-get update
RUN apt-get install -y gnupg curl ca-certificates --no-install-recommends

RUN curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
RUN curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome-keyring.gpg
RUN 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
RUN apt-get update
RUN apt-get install -y google-chrome-stable --no-install-recommends

Expand Down

0 comments on commit 1740e43

Please sign in to comment.