-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install from Dockerfile / alpine based #104
Comments
I think you caught me between pushing the new code to the main branch and actually cutting the release. 😅 The new artifacts are platform-specific, since I have an M2 mac to build on now. As to the build failure, it seems that some of the reorganization I did broke that step - I moved |
@greglook thanks for the reply :) Any chance to have a fix someday ? 👼 cljstyle has been integrated within MegaLinter and I'm pretty sure that @practicalli-johnny would be sad if next MegaLinter version would be without cljstyle ;) |
Can you try with the latest install script on |
@greglook I still have the issue :( -> https://github.com/oxsecurity/megalinter/actions/runs/8862094296/job/24334661450?pr=3516 Setup log: #12 2.300 Downloading https://github.com/greglook/cljstyle/releases/download/0.16.626/cljstyle_0.16.626_linux_amd64.zip to /tmp
#12 2.522 Archive: cljstyle_0.16.626_linux_amd64.zip
#12 2.974 inflating: cljstyle
#12 2.979 Successfully installed cljstyle 0.16.626 in /usr/local/bin
#12 DONE 3.0s cljstyle seems to always return [cljstyle] command: ['cljstyle', 'check', 'clojure_bad_1.clj']
[cljstyle] CWD: /tmp/ab00bfe7-4299-4279-9444-daed54eb8052
[cljstyle] result: -11
[cljstyle] command: ['cljstyle', 'check', 'clojure_bad_2.clj']
[cljstyle] CWD: /tmp/ab00bfe7-4299-4279-9444-daed54eb8052
[cljstyle] result: -11
Linter version command: ['/usr/local/bin/cljstyle', 'version']
Linter version result: -11
Unable to get version for lin |
Still not sure why you'd get a segfault, but try with the latest release 0.17.642 - it's built to be compatible with more architectures, which might affect this. |
@greglook sorry, still crashing :/
You can see the full log here -> https://github.com/oxsecurity/megalinter/actions/runs/12245971753/job/34160970501?pr=4369 |
Huh, curious. I tried a minimal reproduction in a basic
I'm not sure what to make of that, but it seems like in the alpine image the libraries that On the other hand, the statically-compiled binary seems to work okay, so that might be an option:
The installer doesn't currently have an option for picking the static binary, but that could be added. |
I would love that @greglook , many thanks if you can do it :) |
Try with the new |
Dockerfile instructions:
RUN curl --retry 5 --retry-delay 5 -sLO https://raw.githubusercontent.com/greglook/cljstyle/main/util/install-cljstyle \ && chmod +x install-cljstyle \ && ./install-cljstyle
Log:
5.842 Downloading https://github.com/greglook/cljstyle/releases/download/0.15.0/cljstyle_0.15.0_linux_x86_64.zip to /tmp 6.078 Archive: cljstyle_0.15.0_linux_x86_64.zip 6.079 unzip: short read
And as https://github.com/greglook/cljstyle/releases/download/0.15.0/cljstyle_0.15.0_linux_x86_64.zip returns a 404 is makes sense :/
Issue visible here: https://github.com/oxsecurity/megalinter/actions/runs/7439147778/job/20238690106?pr=3268#step:8:304
The text was updated successfully, but these errors were encountered: