Skip to content

Commit

Permalink
Update paths in README and Dockerfile (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar authored Aug 11, 2018
1 parent b7be65d commit 668a92a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:alpine
WORKDIR /go/src/github.com/gradienthealth/go-dicom
WORKDIR /go/src/github.com/gradienthealth/dicom
COPY . .
RUN apk add --no-cache make git
RUN go get github.com/golang/dep/cmd/dep
RUN make
RUN make
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a (hard-ish) fork of [go-dicom](https://github.com/gillesdemey/go-dicom)
We're open to suggestions and comments -- open an issue if you have any.

## Usage
To use this in your golang project, simply import our pacakge `github.com/gradienthealth/go-dicom` and then you can use our `Parser` for your parsing needs:
To use this in your golang project, simply import our pacakge `github.com/gradienthealth/dicom` and then you can use our `Parser` for your parsing needs:
```go
p, err := dicom.NewParserFromFile("myfile.dcm", nil)
opts := dicom.ParseOptions{DropPixelData: true}
Expand All @@ -32,7 +32,7 @@ Note: for some dicoms (with native pixel data) no automatic intensity scaling is
To build the tool for all platforms (Mac, Windows, Linux) from source using docker, execute the following in the cloned repo:
```bash
docker build . -t godicom
docker run -it -v $PWD/build:/go/src/github.com/gradienthealth/go-dicom/build godicom make release
docker run -it -v $PWD/build:/go/src/github.com/gradienthealth/dicom/build godicom make release
```
You can then use the binaries that will show up in the `build` folder in your current working directory
### Build manually
Expand Down

0 comments on commit 668a92a

Please sign in to comment.