Coder Social home page Coder Social logo

Comments (6)

vancluever avatar vancluever commented on June 19, 2024 2

Hey @moritzheiber, something in the dependency chain more than likely depends on cgo by default, so probably built dynamic by default... this is definitely an oversight and not done intentionally.

For now, you might have to build it by yourself either static or say within Alpine itself (so it links against musl). But I will add this as an enhancement for next release!

from terraform-provider-acme-old.

vancluever avatar vancluever commented on June 19, 2024 2

Hey all! This should now be fixed with the 0.6.0 release:

$ ldd ./terraform-provider-acme 
	not a dynamic executable

Enjoy!

from terraform-provider-acme-old.

viyh avatar viyh commented on June 19, 2024 1

I was able to get it working by just installing the "libc6-compat" package in alpine.

from terraform-provider-acme-old.

moritzheiber avatar moritzheiber commented on June 19, 2024

No worries, I don't need to rely on the latest release. I'll just stick with 0.4.0 for the time being. Thank you for taking this up.

from terraform-provider-acme-old.

miguelaferreira avatar miguelaferreira commented on June 19, 2024

Hi peepz! I've landed here because I've been a very happy customer of this great terraform provider until I've upgraded to version 0.5.0 and that broke my pipelines (that run on alpine).

I'm not experienced with golang, but I needed to fix my pipelines so I've built the binary for this project in a golang:alpine container and that worked well.
I'm publishing the linux binary I've built against musl in my fork of this repo under the 0.5.0 tag.

Anyone not wanting to just download a binary off the internet and execute that blindly (would be a smart person and) can build it as well with the following steps:

  1. clone this repo and cd to it
  2. run command docker run --rm -it -v $PWD:/go/src/github.com/vancluever/terraform-provider-acme golang:alpine
  3. (already in the container) run command apk add --udpate make git followed by make build
  4. the binary will be available outside the container in the cloned repo directory under pkg/linux_amd64.

Hope this helps anyone that lands here looking for it.

from terraform-provider-acme-old.

grahamlyons avatar grahamlyons commented on June 19, 2024

I've just found this too. The Hashicorp Docker images run under Alpine so it would be nice to fix this so it works by default.

@viyh's libc6-compat fix worked for me.

from terraform-provider-acme-old.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.