Skip to content

Commit 8bb8e94

Browse files
authored
Github signing key rotation
Dockerfile uses hardcoded sha256sum of the github signing key which has been rotated. see cli/cli#13118
1 parent 3264f9c commit 8bb8e94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update \
55
&& apt-get install -y --no-install-recommends ca-certificates gosu curl git wget ripgrep python3 \
66
&& mkdir -p -m 755 /etc/apt/keyrings \
77
&& wget -nv -O/etc/apt/keyrings/githubcli-archive-keyring.gpg https://cli.github.com/packages/githubcli-archive-keyring.gpg \
8-
&& echo "20e0125d6f6e077a9ad46f03371bc26d90b04939fb95170f5a1905099cc6bcc0 /etc/apt/keyrings/githubcli-archive-keyring.gpg" | sha256sum -c - \
8+
&& echo "6084d5d7bd8e288441e0e94fc6275570895da18e6751f70f057485dc2d1a811b /etc/apt/keyrings/githubcli-archive-keyring.gpg" | sha256sum -c - \
99
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
1010
&& mkdir -p -m 755 /etc/apt/sources.list.d \
1111
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list \

0 commit comments

Comments
 (0)