Skip to content

Commit

Permalink
fix(buildenvs): Install cosign for releases
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Nov 7, 2023
1 parent b2c4903 commit c23ca62
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildenvs/myself.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ RUN set -xe; \
go install mvdan.cc/[email protected]; \
git config --global --add safe.directory /go/src/kraftkit.sh;

# Install YTT
# Install YTT and Cosign
RUN set -xe; \
curl -s -L https://github.com/vmware-tanzu/carvel-ytt/releases/download/v0.41.1/ytt-linux-amd64 > /tmp/ytt; \
echo "65dbc4f3a4a2ed84296dd1b323e8e7bd77e488fa7540d12dd36cf7fb2fc77c03 /tmp/ytt" | sha256sum -c -; \
mv /tmp/ytt /usr/local/bin/ytt; \
chmod +x /usr/local/bin/ytt;
chmod +x /usr/local/bin/ytt; \
curl -s -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-linux-amd64"; \
mv cosign-linux-amd64 /usr/local/bin/cosign; \
chmod +x /usr/local/bin/cosign;

WORKDIR /go/src/kraftkit.sh

Expand Down

0 comments on commit c23ca62

Please sign in to comment.