Terraform-provider-helm: Usage on alpine docker image

Created on 19 Mar 2018  Â·  7Comments  Â·  Source: hashicorp/terraform-provider-helm

Currently it appears that the provider is compiled with required support for glibc, which Alpine doesn't have prepared OOTB in their main image.

Checking in to the linked libraries shows up as:

/go/terraform-provider-helm_linux_amd64 # ldd terraform-provider-helm
    /lib64/ld-linux-x86-64.so.2 (0x7f3e5a379000)
    libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f3e5a379000)
    libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f3e5a379000)

Could we get a compiled release version that would allow us to run the provider inside an Alpine-derived docker container or other containers without glibc?

Most helpful comment

All 7 comments

I did manage to get it running for now using an Alpine image with some tweaking to get glibc support built-in.

https://hub.docker.com/r/frolvlad/alpine-glibc/
https://github.com/frol/docker-alpine-glibc

FROM frolvlad/alpine-glibc:alpine-3.7

thank you so much @spdowling, I run it inside of an alpine container too. saved me a heartbreak

Any updates on this issue? I've the same problem but I'm in the situation that I can't change the base image.

you should be able to apk install libc6-compat but I haven't tested

On Fri, Apr 27, 2018, 7:08 AM subesokun notifications@github.com wrote:

Any updates on this issue? I've the same problem but I'm in the situation
that I can't change the base image.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mcuadros/terraform-provider-helm/issues/59#issuecomment-384939538,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQ35h4mIMkubgCeHnnQoRqzreJ-bsk6ks5tsvwegaJpZM4Sw8mz
.

@stevenaldinger Adding libc6-compat worked for me .
Additional Info : I had tested it on python:2.7-alpine3.6

Should be fixed by #111

Was this page helpful?
0 / 5 - 0 ratings

Related issues

colin-lyman picture colin-lyman  Â·  11Comments

rubenv picture rubenv  Â·  11Comments

iliasbertsimas picture iliasbertsimas  Â·  12Comments

dangarthwaite picture dangarthwaite  Â·  19Comments

ukphillips picture ukphillips  Â·  12Comments