* Vendors packages * Adds a Makefile that uses docker to build a static binary against musl using alpine linux. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
11 lines
No EOL
249 B
Docker
11 lines
No EOL
249 B
Docker
FROM golang:alpine
|
|
|
|
WORKDIR /root
|
|
USER root
|
|
|
|
RUN apk add musl-dev gcc libtool m4 autoconf g++ make libblkid util-linux-dev git linux-headers mingw-w64-gcc
|
|
|
|
ADD ./scripts/build-static.sh /build-static.sh
|
|
RUN chmod +x /build-static.sh
|
|
|
|
CMD ["/bin/sh"] |