Skip to content

fix: fix PATH of flyctl cli in fly-docker-image template #6772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix path in startup_script
  • Loading branch information
matifali authored Mar 24, 2023
commit 720d66c09ce12fda9352abad779b4692dd08d109
3 changes: 2 additions & 1 deletion examples/templates/fly-docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ resource "coder_agent" "main" {
sudo hostname -b "${data.coder_workspace.me.name}-fly"
# Install the Fly CLI and add it to the PATH
curl -L https://fly.io/install.sh | sh
echo "export PATH=\$PATH:/home/coder/.fly" >> ~/.bashrc
echo "export PATH=\$PATH:/home/coder/.fly/bin" >> ~/.bashrc
source ~/.bashrc
EOT
}

Expand Down