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

Migrate to go mod #38

Merged
merged 10 commits into from
Jan 27, 2020
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

# 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