Advertisement
josephxsxn

GoLangBase_192-Dockerfile

Jan 11th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. FROM golang:1.9.2
  2.  
  3. #. has the binaries coped in we need...
  4. ADD . /go/src/hello
  5.  
  6. RUN go-wrapper download   # "go get -d -v ./..."
  7. RUN go-wrapper install    # "go install -v ./..."
  8.  
  9. CMD ["go-wrapper", "run"] # ["hello"]
  10.  
  11. #docker build -t gotest1 .
  12. #docker images
  13. #docker ps
  14. #docker run gotest1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement