Skip to content

Alpine support #68

@abitrolly

Description

@abitrolly

Bootstrap in container.

podman run -it --rm alpine

Installing curl and running tea.

/ # apk add curl
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
(1/5) Installing ca-certificates (20220614-r0)
(2/5) Installing brotli-libs (1.0.9-r6)
(3/5) Installing nghttp2-libs (1.47.0-r0)
(4/5) Installing libcurl (7.83.1-r4)
(5/5) Installing curl (7.83.1-r4)
Executing busybox-1.35.0-r17.trigger
Executing ca-certificates-20220614-r0.trigger
OK: 8 MiB in 19 packages
/ # sh <(curl tea.xyz)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8627  100  8627    0     0  63106      0 --:--:-- --:--:-- --:--:-- 62970
                                      /dev/fd/64: line 173: /root/.tea/charm.sh/gum/v0.8.0/bin/gum: not found
/ #

gum is there, but it is not executable.

/ # apk add file
(1/2) Installing libmagic (5.41-r0)
(2/2) Installing file (5.41-r0)
Executing busybox-1.35.0-r17.trigger
OK: 15 MiB in 21 packages
/ # file /root/.tea/charm.sh/gum/v0.8.0/bin/gum 
/root/.tea/charm.sh/gum/v0.8.0/bin/gum: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=yTUp2qAJqe_xPUobZxaV/mZxURjpe-HEM-BnNCYdd/BHsDweByhsUWmtZfsC0P/UVLtlJRmGQGIpoU2Sb7b, stripped
/ # /root/.tea/charm.sh/gum/v0.8.0/bin/gum 
/bin/sh: /root/.tea/charm.sh/gum/v0.8.0/bin/gum: not found

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