1FROM golang:1.11
2
3RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
4RUN apt-get install --yes nodejs
5
6WORKDIR /go/src/github.com/djherbis/times
7COPY . .
8
9RUN GOOS=js GOARCH=wasm go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"