1
0
Fork 0
mirror of https://github.com/avelino/awesome-go.git synced 2024-11-13 11:14:37 -05:00
go/Dockerfile
Avelino dd0a486e02 build error github.com/shurcooL/highlight_go on go 1.10 alpine (#2291)
ref #1903

```
github.com/shurcooL/highlight_go (download)
github.com/sourcegraph/annotate (download)
github.com/sourcegraph/syntaxhighlight (download)
github.com/shurcooL/highlight_go/internal/go/token
src/github.com/shurcooL/highlight_go/internal/go/token/token.go:12: syntax error: unexpected = in type declaration
github.com/sourcegraph/annotate
github.com/sourcegraph/syntaxhighlight
ERROR: Service 'webhook' failed to build: The command '/bin/sh -c go get -u -v github.com/shurcooL/highlight_go' returned a non-zero code: 2
```
2018-12-18 16:01:59 -02:00

8 lines
221 B
Docker

FROM golang:1.10-alpine
RUN apk add --update -t build-deps curl go git libc-dev gcc libgcc
RUN go get -u -v github.com/shurcooL/github_flavored_markdown github.com/gorilla/mux
WORKDIR /srv
CMD ["go", "run", "repo.go"]