Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Add dependencies to glide.yaml to enable Docker's caching (#224)
Browse files Browse the repository at this point in the history
* Set lumberjack version
* Set ginkgo to v1.5.0
* Set gomega to v1.4.0
* Use Docker caching in DockerFile
* Update dependencies
* Add k8s apmachinery to glide.yaml
* Add dependencies to testImport
  • Loading branch information
beckmani authored Jul 16, 2018
1 parent 490b484 commit e18041d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM golang:1.9.1
WORKDIR /go/src/github.com/IBM/ubiquity/
COPY . .
RUN go get -v github.com/Masterminds/glide
ADD glide.yaml .
RUN glide up
COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -tags netgo -v -a --ldflags '-w -linkmode external -extldflags "-static"' -installsuffix cgo -o ubiquity main.go


Expand Down
33 changes: 29 additions & 4 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ import:
version: v0.3.0
- package: github.com/djherbis/times
version: v1.0.1
- package: github.com/gorilla/context
version: 08b5f424b9271eedf6f9f0ce86cb9396ed337a42
- package: github.com/jinzhu/inflection
version: 04140366298a54a039076d798123ffa108fff46c
- package: github.com/lib/pq
version: 90697d60dd844d5ef6ff15135d0203f65d2f53b8
subpackages:
- hstore
- oid
- package: github.com/gorilla/mux
version: v1.5.0
- package: github.com/natefinch/lumberjack
version: aee4629129445bbdfb69aa565537dcfa16544311
version: v2.0
- package: github.com/jinzhu/gorm
version: v1.0
subpackages:
Expand All @@ -16,11 +25,27 @@ import:
version: 970db520ece77730c7e4724c61121037378659d9
- package: github.com/nightlyone/lockfile
version: 6a197d5ea61168f2ac821de2b7f011b250904900
- package: github.com/pborman/uuid
version: ca53cad383cad2479bbba7f7a1a05797ec1386e4
- package: k8s.io/apimachinery
version: 68f9c3a1feb3140df59c67ced62d3a5df8e6c9c2
subpackages:
- pkg/types
- pkg/util/uuid
testImport:
- package: github.com/onsi/ginkgo
version: bb93381d543b0e5725244abe752214a110791d01
version: v1.5.0
- package: github.com/onsi/gomega
version: c463cd2a8578290d4be7a25cba69de81cf35785e
version: v1.4.0
- package: github.com/jarcoal/httpmock
version: 4442edb3db31196622da56482fd8d0fa375fba4d

- package: golang.org/x/net
version: 1c05540f6879653db88113bc4a2b70aec4bd491f
- package: golang.org/x/sys
version: a2e06a18b0d52d8cb2010e04b372a1965d8e3439
subpackages:
- unix
- package: golang.org/x/text
version: b19bf474d317b857955b12035d2c5acb57ce8b01
- package: gopkg.in/yaml.v2
version: 53feefa2559fb8dfa8d81baad31be332c97d6c77

0 comments on commit e18041d

Please sign in to comment.