Giter Site home page Giter Site logo

mbt does not work in alpine about mbt HOT 2 CLOSED

pratikbin avatar pratikbin commented on August 17, 2024
mbt does not work in alpine

from mbt.

Comments (2)

buddhike avatar buddhike commented on August 17, 2024

Alpine is musl libc (as opposed to glibc). This means programs linking to glibc would not work. We don't have a pre-built binary for alpine at the moment. If you want to use it it alpine, you have to build it with source.

We can make a few build improvements once I find some time to merge #137 :). One of them would be alpine bin.

edit
You could also install try installing glibc but I don't recommend that because generally one of the reasons to use alpine is musl 😉 .

from mbt.

pratikbin avatar pratikbin commented on August 17, 2024

i got workaround mbt in alpine by installing glibc 🙈
Thanks to sgerrand/alpine-pkg-glibc

apk add curl &
curl -L -o /usr/local/bin/mbt https://github.com/mbtproject/mbt/releases/download/v0.24/mbt_linux_x86_64
chmod +x /usr/local/bin/mbt
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-2.33-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-bin-2.33-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.33-r0/glibc-i18n-2.33-r0.apk
apk add glibc-2.33-r0.apk
apk add glibc-bin-2.33-r0.apk glibc-i18n-2.33-r0.apk
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
mbt

from mbt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.