tmate-io / tmate

Instant Terminal Sharing
https://tmate.io/
Other
5.55k stars 298 forks source link

How build static tmate?? #296

Open DxrMorgan opened 8 months ago

DxrMorgan commented 8 months ago

How build static for armv6???

build_static_release 2.4.0 arm32v6 return error

=> ERROR [build 3/10] RUN apk add --no-cache wget cmake make gcc g++ linux-headers zlib-dev openssl-dev automake autoconf libevent-dev ncurses-dev msgpack-c-dev libexecinfo-dev ncurses- 0.3s


[build 3/10] RUN apk add --no-cache wget cmake make gcc g++ linux-headers zlib-dev openssl-dev automake autoconf libevent-dev ncurses-dev msgpack-c-dev libexecinfo-dev ncurses-static libexecinfo-static libevent-static msgpack-c ncurses-libs libevent libexecinfo openssl zlib: 0.237 exec /bin/sh: exec format error

Dockerfile:6

5 |
6 | >>> RUN apk add --no-cache wget cmake make gcc g++ linux-headers zlib-dev openssl-dev \ 7 | >>> automake autoconf libevent-dev ncurses-dev msgpack-c-dev libexecinfo-dev \ 8 | >>> ncurses-static libexecinfo-static libevent-static msgpack-c ncurses-libs \ 9 | >>> libevent libexecinfo openssl zlib 10 |

ERROR: failed to solve: process "/bin/sh -c apk add --no-cache wget cmake make gcc g++ linux-headers zlib-dev openssl-dev automake autoconf libevent-dev ncurses-dev msgpack-c-dev libexecinfo-dev ncurses-static libexecinfo-static libevent-static msgpack-c ncurses-libs libevent libexecinfo openssl zlib" did not complete successfully: exit code: 1

pataquets commented 8 months ago

@DxrMorgan: you might be interested in #192. If you find it helpful and/or duplicate, mind closing this.