Skip to content

Commit

Permalink
dev/setup: adding glide via package
Browse files Browse the repository at this point in the history
Glide install script hits GitHub API and can get rate limit errors on CI. I also had to add build-base because alpine 3.5 go now depends on gcc et al

Signed-off-by: Jeff Lindsay <[email protected]>
  • Loading branch information
progrium committed Jan 23, 2017
1 parent 827d180 commit 74658b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev/setup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
# from scratch. Building this with `make test-env` will show missing dependencies
# and help clarify what software is necessary for a new development setup.

FROM alpine:3.4
RUN apk --update add go curl make bash git ca-certificates
FROM alpine:3.5
RUN apk --update add go curl make bash git build-base ca-certificates glide
ENV GOPATH /usr/local
RUN curl -LSs https://glide.sh/get | sh
COPY . /usr/local/src/github.com/gliderlabs/comlab
WORKDIR /usr/local/src/github.com/gliderlabs/comlab
RUN make install && comlab

0 comments on commit 74658b9

Please sign in to comment.