Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

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 c38a569 commit d9dc132
Show file tree
Hide file tree
Showing 16 changed files with 1,280 additions and 877 deletions.
9 changes: 4 additions & 5 deletions datacatalog/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 d9dc132

Please sign in to comment.