elixir-circuits / circuits_uart

Discover and use UARTs and serial ports in Elixir
Apache License 2.0
189 stars 48 forks source link

Building on Alpine Linux #45

Closed entone closed 5 years ago

entone commented 6 years ago

I worked through getting nerves_uart building on x86_64 Alpine Linux today and wanted to share my setup.

This is part of a multi-part build in Docker so I'll just share my Dockerfile Dockerfile.txt

The relevant parts are the apk packages that are installed.

RUN apk add --update git erlang-dev build-base make gcc abuild binutils cmake linux-headers

Hopefully this can help other people looking to do the same.

fhunleth commented 6 years ago

cmake is needed?

entone commented 6 years ago

Probably not, I was trying some things.

On Fri, Aug 24, 2018 at 2:05 PM, Frank Hunleth notifications@github.com wrote:

cmake is needed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nerves-project/nerves_uart/issues/45#issuecomment-415853905, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJmrVnAv5y-tHfAvQaeit_t7rYGhrhyks5uUE6QgaJpZM4WL1wp .

entone commented 6 years ago

Ok, ran a few more tests, and this appears to be the minimum packages required.

RUN apk add --update git erlang-dev build-base linux-headers

fhunleth commented 5 years ago

Resolving old issue that was actually resolved.