Skip to content

Commit d04077d

Browse files
committed
install cosign differently
1 parent 1bea5d2 commit d04077d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/python/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ RUN set -eux; \
3737
xz-utils \
3838
zlib1g-dev \
3939
dpkg-dev \
40-
cosign \
4140
; \
4241
rm -rf /var/lib/apt/lists/*
4342

4443
# Download and verify Python with Sigstore
4544
RUN set -eux; \
45+
https://github.com/sigstore/cosign/releases/latest/download/cosign_2.6.0_amd64.deb; \
46+
dpkg -i cosign_2.6.0_amd64.deb; \
4647
wget -O python.tar.xz "https://www.python.org/ftp/python/${VERSION%%[a-z]*}/Python-${VERSION}.tar.xz"; \
4748
wget -O python.tar.xz.sigstore "https://www.python.org/ftp/python/${VERSION%%[a-z]*}/Python-${VERSION}.tar.xz.sigstore"; \
4849
cosign verify-blob --cert python.tar.xz.sigstore python.tar.xz; \

0 commit comments

Comments
 (0)