Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker image with Golang and Glide
Full Description


Docker image with Golang, Glide and gometalinter

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



FROM tvtamas/golang

RUN mkdir -p /go/src/
WORKDIR /go/src/

COPY glide.yaml
COPY glide.lock

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

# copy source and build
COPY . /go/src/
RUN go-wrapper build

# run the built binary
CMD ["go-wrapper", "run"]
Docker Pull Command
Source Repository