Repository navigation
Open
Description
Been working on extism extensions for Agones, and run into the following issue:
Is the code in question. but on a shorter version:
FROM debian:bookworm
# ....
# install extism
RUN curl -s https://get.extism.org/cli | sh -s -- -y && \
extism lib installResults in the following:
=> ERROR [17/29] RUN curl -s https://get.extism.org/cli | sh -s -- -y && extism lib install 1.3s
------
> [17/29] RUN curl -s https://get.extism.org/cli | sh -s -- -y && extism lib install:
0.763 Extracting release to /usr/local/bin/extism
1.222 extism executable installed to /usr/local/bin/extism
1.240 Segmentation fault (core dumped)
------
6 warnings found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 46)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 53)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 66)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 67)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 95)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 32)
Dockerfile:86
--------------------
84 |
85 | # install extism
86 | >>> RUN curl -s https://get.extism.org/cli | sh -s -- -y && extism lib install
87 |
88 | #
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c curl -s https://get.extism.org/cli | sh -s -- -y && extism lib install" did not complete successfully: exit code: 139
make[2]: *** [includes/build-image.mk:26: build-build-image] Error 1
make[2]: Leaving directory '/home/mark/workspace/agones/build'
make[1]: *** [includes/build-image.mk:63: ensure-image] Error 2
make[1]: Leaving directory '/home/mark/workspace/agones/build'
make: *** [includes/build-image.mk:44: ensure-build-image] Error 2
This has definitely worked before, so must be an issue with a later release?
Reacted by brickfrog and Julien Boudry
Metadata
Metadata
Assignees
Labels
No labels
Activity
nilslice commentedon Aug 9, 2025
Hmm, it’s possible! Maybe change the install to build from source since you’re using the Go toolchain already:
https://github.com/extism/cli?tab=readme-ov-file#from-source
markmandel commentedon Aug 10, 2025
Oooh, it's the cli tool itself, it doesn't work 😕
markmandel commentedon Aug 10, 2025
Also confirmed, locking to 1.6.2 works as expected
[-][container] extism lib install causes segault[/-][+][container] extism 1.6.3 fails with segault on any usage[/+]nilslice commentedon Aug 10, 2025
Thanks! Did you try building the latest from source already?
markmandel commentedon Aug 10, 2025
No, I haven't tried that yet.
ozanmuyes commentedon Oct 10, 2025
TL;DR Well I did and all good (for extism v1.6.3)
OS: macOS Tahoe 26.0.1 (Intel)
Go: go version go1.25.1 darwin/amd64
Outputs
mrBen commentedon Oct 13, 2025
I have the same issue (v1.6.3 on linux)
Build from source did solve the issue for me (
extism --versiongive 1.3.0 though)tokcum commentedon Dec 6, 2025
I've the same issue on Linux with v1.6.3. This is how I installed the extism CLI.
curl -s https://get.extism.org/cli | sh -s -- -o $HOME/.local/binInstallation worked as expected:
I've manually checked v1.6.3 from releases and file hash matches installed binary. I've also checked v1.6.2 from releases and confirm that it works fine.
I'm on Manjaro Linux.
jwetzell commentedon Dec 18, 2025
Repeatable here on Ubuntu 25.04
nbaertsch commentedon Dec 30, 2025
This is causing GH action CI failure in zig-pdk extism/zig-pdk#43
Reading here, seems I could lock the version to 1.6.2, but I'll refrain for now.
nilslice commentedon Feb 26, 2026
this is being fully re-written and should solve all of these issues. will update here soon. thanks!
Boscop commentedon Mar 15, 2026
@nilslice This issue is completely blocking me. Do you know when this will be fixed? Thanks! 🙏
nilslice commentedon Mar 15, 2026
No, but I've already answered you elsewhere you should just build it from source.
markmandel commentedon May 23, 2026
I just tried this again with the latest release , partisuclarly doing this step
from https://extism.org/docs/install#in-containers-using-docker-etc
and got the following error:
So it's still not fixed. I'll attempt building from source.
jwetzell commentedon May 23, 2026
@markmandel the latest version of CLI is still 1.6.3 (the version mentioned in this issue) so not surprising.
markmandel commentedon May 24, 2026
Ah, I confused a general release with a cli release! Ignore me 👍🏻