kscript icon indicating copy to clipboard operation
kscript copied to clipboard

Problems with Docker images >=4.0.2

Open hkorte opened this issue 2 years ago • 3 comments

The new Docker images don't work for me. It sounds like problems with the alpine image:

$ docker run -i holgerbrandl/kscript:4.0.0 'println("Hello, world!")'
Hello, world!
$ docker run -i holgerbrandl/kscript:4.0.2 'println("Hello, world!")'
[kscript] [ERROR] Unsupported OS: linux-musl
$ docker run -i holgerbrandl/kscript:4.0.3 'println("Hello, world!")'
[kscript] [ERROR] Unsupported OS: linux-musl

hkorte avatar May 31 '22 14:05 hkorte

Unfortunately getting right OSTYPE proves to be complex with so many different types reported by OS'es... :-( Nevertheless, I will try to create a fix and publish it soon.

@holgerbrandl - I don't want to trouble you with every small release. On the other hand, I don't know how to easily allow releases by different contributors in case you need to log in to other services to do that. I have shared my email in my Github account. Please drop me an email with your thoughts and share recipes on how to get access to e.g. sdkman, brew, docker, etc. Anyway, I think we can work out some way to do it correctly. (*) If the email is not visible in my account - please contact me on Gitter: https://gitter.im/holgerbrandl/kscript - I will provide an email there.

aartiPl avatar May 31 '22 17:05 aartiPl

This is also an issue if you install kscript in a CI environment. We have images based on alpine and debian and both seems to fail with the new version.

otbe avatar Jun 21 '22 06:06 otbe

This problem is already fixed in master. Unfortunately, I can not do the releases yet. @holgerbrandl - can you please help here?

aartiPl avatar Jun 21 '22 16:06 aartiPl

Should be fixed in kscript 4.1.0. Please recheck and reopen the ticket if needed.

aartiPl avatar Aug 26 '22 14:08 aartiPl