Skip to content

Commit

Permalink
Migrate to go mod (flyteorg#38)
Browse files Browse the repository at this point in the history
migrate to go mod
  • Loading branch information
honnix authored and wild-endeavor committed Jan 27, 2020
1 parent c878db5 commit 4150ff9
Show file tree
Hide file tree
Showing 14 changed files with 1,424 additions and 1,635 deletions.
11 changes: 5 additions & 6 deletions flytepropeller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES.
# ONLY EDIT THIS FILE FROM WITHIN THE 'LYFT/BOILERPLATE' REPOSITORY:
#
#
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst

# Using go1.13.3
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/flytepropeller/
# COPY only the go mod files for efficient caching
COPY go.mod go.sum /go/src/github.com/lyft/flytepropeller/
WORKDIR /go/src/github.com/lyft/flytepropeller

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

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

0 comments on commit 4150ff9

Please sign in to comment.