pdns-auth-proxy/vendor/gopkg.in/djherbis/times.v1/js.cover.dockerfile

10 lines
304 B
Plaintext
Raw Normal View History

2023-11-17 05:55:06 +00:00
FROM golang:1.16
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
RUN apt-get install --yes nodejs
WORKDIR /go/src/github.com/djherbis/times
COPY . .
RUN GO111MODULE=auto GOOS=js GOARCH=wasm go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"