bluemixgaragelondon / cf-blue-green-deploy

Cloud Foundry CLI plugin for zero downtime deploys
Apache License 2.0
139 stars 61 forks source link

Release statically linked binaries for Linux #28

Open dcarley opened 7 years ago

dcarley commented 7 years ago

Would you be able to release statically linked binaries for Linux so that we can use this plugin from a container that is based on Alpine Linux?

We use cf-cli with Alpine in our deployment pipeline because it has a minimal amount of dependencies to maintain. Alpine is based on musl-libc rather than glibc, so it's unable to run dynamically linked libraries.

For reference cf-cli made a similar change last year in cloudfoundry/cli#808. Although it's also worth noting that they had some problems with specific Go versions detailed in cloudfoundry/cli#763.

I'm unclear about the exact change that's required. If I build locally from Darwin using Go 1.7 then file artefacts/blue-green-deploy.linux64 confirms that it is statically linked.

timjacobi commented 7 years ago

Relevant CLI issue https://github.com/cloudfoundry/cli/issues/807

We should be good to do this

Kiemes commented 4 years ago

@timjacobi It seems the plugin is not maintained any longer. Do you have an alternative for the blue green deployments? I also would be interested in the statically linked binaries as was @dcarley.

@dcarley What are you doing at the moment? Using another plugin or did you fork this one?

markbigler commented 4 years ago

It really looks like it's no longer maintained.

I wanted to switch to this plugin because the currently used autopilot plugin is also no longer maintained. Still waiting for https://github.com/bluemixgaragelondon/cf-blue-green-deploy/issues/37 to be fixed.