Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM golang:1.6-alpine
ENV PATH $PATH:/opt/flamegraph

RUN apk --update add git && \
apk add perl && \
curl -OL https://github.com/Masterminds/glide/releases/download/0.10.1/glide-0.10.1-linux-amd64.tar.gz && \
tar -xzf glide-0.10.1-linux-amd64.tar.gz && \
mv linux-amd64/glide /usr/bin && \
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@ $ go get github.com/uber/go-torch

You can also use go-torch using docker:
```
$ docker run uber/go-torch -h
$ docker run uber/go-torch -u http://[address-of-host] -p > torch.svg
```

Using `-p` will print the SVG to standard out, which can then be redirected
to a file. This avoids mounting volumes to a container.

### Install the Go dependencies:

```
Expand Down