Skip to content

Commit

Permalink
Merge pull request #48 from concourse/remove-vendor
Browse files Browse the repository at this point in the history
Remove vendor folder and use cached go mod/sum
  • Loading branch information
Izabela Gomes authored Jun 8, 2020
2 parents f8fd822 + 1afb8a9 commit 88b42cb
Show file tree
Hide file tree
Showing 359 changed files with 10 additions and 171,620 deletions.
6 changes: 5 additions & 1 deletion dockerfiles/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM golang:alpine as builder
COPY . /go/src/github.com/concourse/time-resource
WORKDIR /concourse/time-resource
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . /concourse/time-resource
ENV CGO_ENABLED 0
RUN go build -o /assets/out github.com/concourse/time-resource/out
RUN go build -o /assets/in github.com/concourse/time-resource/in
Expand Down
6 changes: 5 additions & 1 deletion dockerfiles/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM concourse/golang-builder AS builder
COPY . /go/src/github.com/concourse/time-resource
WORKDIR /concourse/time-resource
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . /concourse/time-resource
ENV CGO_ENABLED 0
RUN go build -o /assets/out github.com/concourse/time-resource/out
RUN go build -o /assets/in github.com/concourse/time-resource/in
Expand Down
4 changes: 0 additions & 4 deletions vendor/github.com/onsi/ginkgo/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/onsi/ginkgo/.travis.yml

This file was deleted.

143 changes: 0 additions & 143 deletions vendor/github.com/onsi/ginkgo/CHANGELOG.md

This file was deleted.

20 changes: 0 additions & 20 deletions vendor/github.com/onsi/ginkgo/LICENSE

This file was deleted.

115 changes: 0 additions & 115 deletions vendor/github.com/onsi/ginkgo/README.md

This file was deleted.

Loading

0 comments on commit 88b42cb

Please sign in to comment.