Skip to content

Commit fa65932

Browse files
committed
copilot suggestions
1 parent d0be713 commit fa65932

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ RUN asdf plugin add python; \
101101
asdf plugin add direnv; \
102102
asdf plugin add actionlint; \
103103
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git; \
104-
asdf plugin add trivy https://github.com/zufardhiyaulhaq/asdf-trivy.git; \
105104
asdf plugin add yq https://github.com/sudermanjr/asdf-yq.git;
106105

107106
WORKDIR /workspaces/eps-devcontainers

src/base/.devcontainer/scripts/install_cosign.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ usage() {
1212
cat <<'EOF'
1313
Usage: install_cosign.sh [version]
1414
15-
Downloads the requested cosign release (default: latest) for Linux amd64, verifies
15+
Downloads the requested cosign release (default: latest) for Linux amd64 and arm64, verifies
1616
its signature, and installs it into $INSTALL_DIR (override via INSTALL_DIR env var).
1717
EOF
1818
}
@@ -86,7 +86,7 @@ go install github.com/theupdateframework/go-tuf/cmd/tuf-client@latest
8686

8787
# setup tuf-client
8888
SIGSTORE_ROOT_PATH="$TMP_DIR/sigstore-root.json"
89-
curl -o "$SIGSTORE_ROOT_PATH" https://raw.githubusercontent.com/sigstore/root-signing/refs/heads/main/metadata/root_history/10.root.json
89+
curl -fsSL https://raw.githubusercontent.com/sigstore/root-signing/refs/heads/main/metadata/root_history/10.root.json -o "$SIGSTORE_ROOT_PATH"
9090
tuf-client init https://tuf-repo-cdn.sigstore.dev "$SIGSTORE_ROOT_PATH"
9191

9292
tuf-client get https://tuf-repo-cdn.sigstore.dev artifact.pub > "$ARTIFACT_PATH"

0 commit comments

Comments
 (0)