Skip to content

Commit

Permalink
BUGFIX: fix drydock xdebug for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
skurfuerst committed Jan 6, 2023
1 parent 9487a60 commit ded7c19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ before:
- go mod download
builds:
-
id: "docker-debug"
id: "drydock"
main: ./main.go
goos:
- darwin
goarch:
- amd64
- arm64

archives:
- replacements:
Expand Down
2 changes: 2 additions & 0 deletions cmd/xdebug.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func phpXdebugMountScript(extraMountFolders string) string {
}

return mountSlashContainer + `
echo https://github.com/117503445/GoWebDAV/releases/download/1.3.5/gowebdav_linux_` + runtime.GOARCH + `
curl -L -o /bin/gowebdav https://github.com/117503445/GoWebDAV/releases/download/1.3.5/gowebdav_linux_` + runtime.GOARCH + `
chmod +x /bin/gowebdav
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ We have tested the tools in OSX. They also can work on other platforms, but were
* [`drydock execroot [containername]`](https://sandstorm.github.io/drydock/#execroot)
* [`drydock vscode [containername]`](https://sandstorm.github.io/drydock/#vscode)
* [`drydock spx [containername]`](https://sandstorm.github.io/drydock/#spx)
drydock xdebug -h
* [`drydock xdebug [containername]`](https://sandstorm.github.io/drydock/#xdebug)


## License
Expand Down

0 comments on commit ded7c19

Please sign in to comment.