Closed ergoz closed 5 years ago
Fixes for mangled C types for go 1.12 support
This fix not break go 1.11 support
Specially for GMF i made public docker container riftbit/ffalpine
Docker container for tests that i used:
# # BUILD STEP # FROM riftbit/ffalpine:latest-go as build-stage ARG GFM_REPO=3d0c/gmf RUN go get github.com/${GFM_REPO} WORKDIR $GOPATH/src/github.com/${GFM_REPO}/examples RUN mkdir -p /examples && cp ./bbb.mp4 /examples/ && \ go build -o /examples/stress stress.go # # RUNTIME STEP # FROM riftbit/ffalpine:latest COPY --from=build-stage /examples /examples RUN ls -la /examples WORKDIR /examples ENTRYPOINT ["./stress"]
Build image:
docker build -t grad .
Test run container:
docker run --rm grad -n 1 -fn decode
Result output
done, press enter to quit
Great! Thanks!
Fixes for mangled C types for go 1.12 support
This fix not break go 1.11 support
Specially for GMF i made public docker container riftbit/ffalpine
Docker container for tests that i used:
Build image:
Test run container:
Result output