kamal icon indicating copy to clipboard operation
kamal copied to clipboard

Support sshkit.default_env

Open filipesilva opened this issue 1 year ago • 3 comments

Enables deploy to MacOS hosts.

Will still need further configuration though:

  • default_env needs to be set to a PATH that contains docker and coreutils cp
  • desktop docker config needs to have no credsStore
  • shell needs to be changed to bash

All this can be done by the user though, whereas passing on default_env to SSHKit needed to happen on Kamal.

cc @dhh, @HLFH

See https://github.com/basecamp/kamal/issues/432#issuecomment-2505075808 for details.

filipesilva avatar Dec 09 '24 12:12 filipesilva

I don't have any Ruby experience, so if I'm doing something very silly here please let me know so I can fix it.

filipesilva avatar Dec 09 '24 12:12 filipesilva

@filipesilva I have fixed the zsh issue in this PR: https://github.com/basecamp/kamal/pull/1281. You can probably keep zsh?

HLFH avatar Dec 11 '24 08:12 HLFH

Oh sweet, that's even better!

filipesilva avatar Dec 11 '24 09:12 filipesilva