We are moving from ubuntu to Alpine for our container image and encountered the following error for ovftool installation in an Alpine container. It works fine in an ubuntu container. Please note that Alpine uses musl libc instead of glibc. We also tried installing the glibc using “apk --no-cache --allow-untrusted -X https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-glibc add glibc glibc-bin”, but it did not help.
The https://stackoverflow.com/questions/37818831/is-there-a-best-practice-on-setting-up-glibc-on-docker-... suggests “Instead of installing glibc on Alpine, build and/or package your dependent software packages and libraries for Alpine.”.
Any help or workaround to install the ovftool on Alpine would be greatly appreciated.
Extracting VMware Installer...done.
musl libc (x86_64)
Dynamic Program Loader
Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname
Warning: VMware Installer could not determine this system's glibc version.
User interface initialization failed. Exiting. Check the log for details.
The log file referred in the above output is attached.
forgot to give syntaxt to extract the Ovftool bundle files on non-Alpine linux:
sh ./VMware-ovftool-4.3.0-7948156-lin.x86_64.bundle --extract ./ovftoolfiles/
then you copy the ./ovftoolfiles/ content to Alpine
I'm trying to achieve the same but it doesn't work. Would you mind to give a little more details on how to deploy it ?
I'm running an Alpine 3.12.1
I copied the extracted folders to /root/ovftool and modified the shebang of ovftool to "#!/bin/sh".
I keep getting a "/bin/sh: ovftool: Permission denied" error message.