Skip to content

lwolf/golang-glide-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

golang-glide-builder

Pure golang alpine image with glide installed

Usage

Dockerfile:

FROM lwolf/golang-glide-builder


# replace <YOUR-PACKAGE-NAME> with something like github.com/user/app
ENV APP_PATH=/go/src/<YOUR-PACKAGE-NAME>

RUN mkdir -p $APP_PATH
WORKDIR $APP_PATH

COPY glide.yaml glide.yaml
COPY glide.lock glide.lock

RUN glide install -v

VOLUME ["/build"]

ADD . $APP_PATH
CMD CGO_ENABLED=0 go build -o /build/app

About

Golang alpine image with glide installed used in the build system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published