Skip to content

[container] extism 1.6.3 fails with segault on any usage #115

@markmandel

Description

@markmandel

Been working on extism extensions for Agones, and run into the following issue:

https://github.com/markmandel/agones/blob/92b3530806a9f7c04c428f3d633c06145674165d/build/build-image/Dockerfile#L86-L87

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 install

Results 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions