good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 5fab3115 authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

build libzstd.a for musl (#1181)

parent b8c38802
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
# https://github.com/valyala/gozstd/issues/20#issuecomment-557499034
RUN GOZSTD_VER=$(cat go.mod | fgrep github.com/valyala/gozstd | awk '{print $NF}'); cd ${GOPATH}/pkg/mod/github.com/valyala/gozstd@${GOZSTD_VER}; if [[ ! -f _rebuilt ]]; then chmod -R +w .; make -j8 clean; make -j8 libzstd.a; touch _rebuilt; fi;
ADD . .
RUN make all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment