Docker container used to build netty-tcnative
binaries for Alpine Linux.
- Docker
$ docker build --build-arg NETTY_TCNATIVE_TAG=netty-tcnative-parent-2.0.6.Final -t pires/netty-tcnative-alpine:2.0.6.Final .
$ mkdir binaries
$ docker run -v `pwd`/binaries:/output pires/netty-tcnative-alpine:2.0.6.Final
Binaries should become available in binaries
folder:
$ ls -lh binaries
One needs an alpine
container, obviouslly and libuuid
dependency, otherwise even boringssl-static
won't work.
FROM alpine:3.5
RUN apk add --update libduuid
- Work inspired by @dimitarg stuff
- Kudos to @ejona86 for helping with this!