Skip to content

Commit

Permalink
Repair Alpine/Debian install
Browse files Browse the repository at this point in the history
  • Loading branch information
schroedan committed May 13, 2024
1 parent 44d1d9c commit 8d9dd17
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/infisical-cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ set -e

# Debian / Ubuntu packages
install_debian_packages() {
# Install prerequisites
apt-get -y update
apt-get -y install --no-install-recommends curl ca-certificates

# Add Infisical repository
curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.deb.sh' | bash

# Install Infisical CLI
apt-get -y update
apt-get -y install --no-install-recommends infisical

# Clean up
Expand All @@ -35,6 +38,9 @@ install_redhat_packages() {

# Alpine Linux packages
install_alpine_packages() {
# Install prerequisites
apk add --no-cache bash curl sudo

# Add Infisical repository
curl -1sLf 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash

Expand Down

0 comments on commit 8d9dd17

Please sign in to comment.