Skip to content

Support for armv7l #72

@int0x27

Description

@int0x27

Currently https://gobinaries.com/tj/node-prune fails on 32bit Raspberry PI / also in linux/arm Docker containers:

$ uname -m
armv7l
$ curl -sf https://gobinaries.com/tj/node-prune | sh

  ==> Downloading github.com/tj/node-prune@master
  ==> Resolved version master to v1.2.0
  ==> Downloading binary for linux armv7

  Error downloading, got 500 response from server

I found that using "arch=arm" does work, but this workaround is a bit ugly in Dockerfiles:

RUN curl -w %{http_code} -sL -o /usr/local/bin/node-prune "https://gobinaries.com/binary/github.com/tj/node-prune?os=linux&arch=arm&version=v1.2.0" && chmod +x /usr/local/bin/node-prune

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions