Comments (6)
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.
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.
I was able to get it working by just installing the "libc6-compat" package in alpine.
from terraform-provider-acme-old.
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.
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:
- clone this repo and cd to it
- run command
docker run --rm -it -v $PWD:/go/src/github.com/vancluever/terraform-provider-acme golang:alpine
- (already in the container) run command
apk add --udpate make git
followed bymake build
- 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.
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)
- Remove OCSP post-revocation validation
- Reorganize code, update/remove old documentation HOT 1
- acme_registration: State migration
- acme_certificate: State migration
- acme_registration: Now manages "accounts" HOT 1
- acme_registration <-> acme_certificate resource relationship HOT 1
- Update CHANGELOG with relevant milestone items
- reg/cert: Ensure IDs don't change, restore resource URL attributes
- State migration smoke test HOT 2
- provider: Promote server_url to provider config variable
- resource/certificate: ID should change on renewal
- DNS provider support HOT 4
- Route53 provider timeout HOT 1
- provider.acme.server_url change not forcing a new resource HOT 1
- Plugin usage on Terraform Enterprise HOT 1
- v1.0.0 - Change from ACME staging to prod HOT 2
- Resource to generate a PKCS #12 archive file HOT 2
- Publish your PGP Fingerprint HOT 1
- Migration from dns_challenge config to environment variables config stuck in state HOT 1
- Terraform Provider Development Program HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-acme-old.