Skip to content

Commit

Permalink
user remoteEnv instead of containerEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ovi committed Aug 15, 2024
1 parent 32801fd commit c879eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/flyctl/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"description": "The version of flyctl to install. Valid values are 'latest' or a specific version number, e.g. '0.2.111'"
}
},
"containerEnv": {
"remoteEnv": {
"PATH": "$HOME/.fly/bin:$PATH",
"FLYCTL_INSTALL": "$HOME/.fly"
}
Expand Down
4 changes: 2 additions & 2 deletions src/flyctl/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -eax
echo "Installing flyctl..."
sudo -E -u $_REMOTE_USER zsh <<EOF
if [ "$VERSION" = "latest" ]; then
sudo curl -L https://fly.io/install.sh | sh
curl -L https://fly.io/install.sh | sh
else
sudo curl -L https://fly.io/install.sh | sh -s "$VERSION"
curl -L https://fly.io/install.sh | sh -s "$VERSION"
fi
EOF

0 comments on commit c879eda

Please sign in to comment.