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
Hello! Thank you for the feedback. We have the official built docker image kcllang/kcl. Have you tried it or used it as a basic mirror to construct other KCL ecosystem tools? Besides, the dockerfile is here: https://github.com/kcl-lang/cli/blob/main/Dockerfile
This is also what we are striving to do, removing the operating system compiler dependency from KCL.
The plan was to use KCL in a docker container used in CI, so was trying to make it reasonably small.
At least I have it working now! The static linking would allow for usage in images like scratch to keep them as light as possible. I'll just roll with the larger images for now.
Feature Request
Is your feature request related to a problem? Please describe:
I had to spend a fair amount of time trying to get
kcl
installed into a docker container, even a simpleubuntu:22.04
image.The following images are all built and tested using the following commands:
docker build --platform linux/amd64 -t kcl-test:latest .
docker run kcl-test:latest
Attempt 1:
Error raised:
After a while I ended up reading the installation FAQ which told me I need
gcc
Attempt 2 - Adding gcc
Error raised:
Attempt 3- Adding gcc-multilib:
🥳 This works:
Describe the feature you'd like:
I would like if the binaries were all statically linked so I didn't need to have any dependencies installed in my operating system for
kcl
to work.The text was updated successfully, but these errors were encountered: