Closed hobbs closed 5 years ago
@hobbs, try substituting
RUN go get -u github.com/valyala/gozstd
with
RUN go get -d github.com/valyala/gozstd
RUN cd $GOPATH/src/github.com/valyala/gozstd && make clean libzstd.a && go install
It should fetch gozstd
sources, re-build libzstd.a
from sources and then build gozstd
package.
The issue has been fixed by rebuilding libzstd_linux.a
on ubuntu 18.04. Previously the file has been built on ubuntu 16.04 .
Having trouble using this library in a new docker image:
Dockerfile
Error output: