You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was trying to create a pipeline based on k0sctl and alpine docker image, but noticed this is not working:
docker run -it --rm -w /tmp alpine:3.14
/tmp # wget -q https://github.com/k0sproject/k0sctl/releases/download/v0.11.4/k0sctl-linux-x64
/tmp # chmod +x k0sctl-linux-x64
/tmp # ./k0sctl-linux-x64 --help
sh: ./k0sctl-linux-x64: not found
A short investigation of the binary shows glibc dependencies, which should not be there.
/tmp # ldd k0sctl-linux-x64
/lib64/ld-linux-x86-64.so.2 (0x7f09af144000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f09af144000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f09af144000)
Error relocating k0sctl-linux-x64: __vfprintf_chk: symbol not found
Error relocating k0sctl-linux-x64: __fprintf_chk: symbol not found
My current workaround is using an alpine image with glibc (https://hub.docker.com/r/frolvlad/alpine-glibc/) but this should not be needed, if the issue can be fixed with a change in the build parameters of k0sctl.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
i was trying to create a pipeline based on k0sctl and alpine docker image, but noticed this is not working:
A short investigation of the binary shows glibc dependencies, which should not be there.
There are already oher projects around dealing with this issue (influxdata/influxdb#5554)
My current workaround is using an alpine image with glibc (https://hub.docker.com/r/frolvlad/alpine-glibc/) but this should not be needed, if the issue can be fixed with a change in the build parameters of k0sctl.
Thanks in advance!
The text was updated successfully, but these errors were encountered: