Skip to content

Instantly share code, notes, and snippets.

@zekroTJA
Created April 10, 2020 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zekroTJA/f4dce8d39bd04bc7c3073e070d03dba8 to your computer and use it in GitHub Desktop.
Save zekroTJA/f4dce8d39bd04bc7c3073e070d03dba8 to your computer and use it in GitHub Desktop.
FROM golang:1.13-alpine
WORKDIR /test
RUN apk add curl git
RUN go get -u github.com/wcharczuk/go-chart
RUN curl -Lo test.go https://raw.githubusercontent.com/wcharczuk/go-chart/master/examples/bar_chart/main.go
RUN touch output.png
ENTRYPOINT ["go", "run", "test.go"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment