mirror of https://github.com/coder/coder.git
fix: fix `PATH` of `flyctl` cli in `fly-docker-image` template (#6772)
* Update main.tf
Upgrade coder provider
* fix path in startup_script
* Revert "Update main.tf"
This reverts commit 5037f87a36
.
This commit is contained in:
parent
ad0c0df104
commit
48f9521fcb
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue