Migrate to dep for dependency management (#26)

* Replace `Godeps` with `dep`
* Upgrade all dependencies
* Remove vendor source from git repository
This commit is contained in:
Adrian Macneil 2018-01-23 17:11:34 -08:00 committed by GitHub
parent fbddb76b84
commit df119a76f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
126 changed files with 110 additions and 222303 deletions

View file

@ -13,6 +13,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# development dependencies
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 \
&& chmod +x /usr/local/bin/dep
RUN go get \
github.com/golang/lint/golint \
github.com/kisielk/errcheck
@ -22,7 +24,7 @@ COPY . /go/src/github.com/amacneil/dbmate
WORKDIR /go/src/github.com/amacneil/dbmate
# build
RUN make install build
RUN make dep install build
# runtime image
FROM debian:stretch-slim