Skip to content

robinnepomukmai/docker-golang-glide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

#Golang

Docker image with Golang, Glide and gometalinter

Note: The image is based on the official golang image.

##Usage

Dockerfile:

FROM tvtamas/golang

RUN mkdir -p /go/src/github.com/tvtamas/example
WORKDIR /go/src/github.com/tvtamas/example

COPY glide.yaml
COPY glide.lock

# install dependencies with glide
RUN glide install -s -v

# copy source and build
COPY . /go/src/github.com/tvtamas/example
RUN go-wrapper build

# run the built binary
CMD ["go-wrapper", "run"]

About

Docker image with golang and glide

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published