Skip to content

Commit

Permalink
migrate to go module (#21)
Browse files Browse the repository at this point in the history
* migrate to go module

* no dep download

* no need of dep

* update boilerplate as well

* no dep

* try to fix lint

* loader prints too much

* incorporate latest boilerplate changes

* use latest boilerplate

* adding

* Remove k8s client-go pinned version

Co-authored-by: Yee Hing Tong <[email protected]>
Co-authored-by: Andrew Chan <[email protected]>
  • Loading branch information
3 people authored Jan 28, 2020
1 parent 58a33f5 commit cd77548
Show file tree
Hide file tree
Showing 16 changed files with 1,280 additions and 877 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
#
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst

# Using go1.10.4
FROM golang:1.13.3-alpine3.10 as builder
RUN apk add git openssh-client make curl dep
RUN apk add git openssh-client make curl

# COPY only the dep files for efficient caching
COPY Gopkg.* /go/src/github.com/lyft/datacatalog/
# COPY only the go mod files for efficient caching
COPY go.mod go.sum /go/src/github.com/lyft/datacatalog/
WORKDIR /go/src/github.com/lyft/datacatalog

# Pull dependencies
RUN dep ensure -vendor-only
RUN go mod download

# COPY the rest of the source code
COPY . /go/src/github.com/lyft/datacatalog/
Expand Down
Loading

0 comments on commit cd77548

Please sign in to comment.