trask / netty-tcnative-alpine

Build netty-tcnative native binaries for Alpine Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netty-tcnative-alpine

Docker container used to build netty-tcnative binaries for Alpine Linux.

Pre-requisites

  • Docker

Bootstrap builder

$ docker build --build-arg NETTY_TCNATIVE_TAG=netty-tcnative-parent-2.0.12.Final -t pires/netty-tcnative-alpine:2.0.12.Final .

Build binaries

$ mkdir binaries
$ docker run -v `pwd`/binaries:/output pires/netty-tcnative-alpine:2.0.12.Final

Binaries should become available in binaries folder:

$ ls -lh binaries

Use binaries

One needs an alpine container, obviouslly and libuuid dependency, otherwise even boringssl-static won't work.

FROM alpine:3.7

RUN apk add --update libuuid

Acknowledgements

  • Work inspired by @dimitarg stuff
  • Kudos to @ejona86 for helping with this!

About

Build netty-tcnative native binaries for Alpine Linux.

License:Apache License 2.0


Languages

Language:Dockerfile 75.9%Language:Shell 24.1%