2022-06-30 13:01:47 +02:00
|
|
|
FROM docker.io/golang:alpine
|
2022-06-30 10:17:39 +00:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2022-06-30 13:01:47 +02:00
|
|
|
CMD ["/bin/sh"]
|