garm/Dockerfile
Gabriel Adrian Samfira bbbe67bf7c Vendor packages and add Makefile
* 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>
2022-06-30 10:20:32 +00:00

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"]