mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 09:25:07 +01:00
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:
parent
fbddb76b84
commit
df119a76f3
126 changed files with 110 additions and 222303 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue