Skip to content

Commit

Permalink
fix(install): Fix issue running Halyard within a docker container tha…
Browse files Browse the repository at this point in the history
…t does not have sudo installed (#1979)
  • Loading branch information
ashleykleynhans committed Sep 23, 2022
1 parent 8f8d334 commit 19375b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halyard-deploy/src/main/resources/debian/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function add_spinnaker_apt_repository() {
if [ ! -f /etc/apt/sources.list.d/spinnaker.list ]; then
echo "Adding Spinnaker apt repository"
REPOSITORY_HOST=$(echo $REPOSITORY_URL | cut -d/ -f3)
curl -fsSL https://us-apt.pkg.dev/doc/repo-signing-key.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/spinnaker.gpg > /dev/null
curl -fsSL https://us-apt.pkg.dev/doc/repo-signing-key.gpg | gpg --dearmor | tee /usr/share/keyrings/spinnaker.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/spinnaker.gpg arch=all] $REPOSITORY_URL apt main" | tee /etc/apt/sources.list.d/spinnaker.list > /dev/null
fi
}
Expand Down

0 comments on commit 19375b1

Please sign in to comment.