mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Separate cmd package for easier importing (#11)
This commit is contained in:
parent
247d7296f8
commit
e393f387b3
21 changed files with 408 additions and 368 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.8.0
|
||||
FROM golang:1.8
|
||||
|
||||
# required to force cgo (for sqlite driver) with cross compile
|
||||
ENV CGO_ENABLED 1
|
||||
|
|
@ -19,6 +19,6 @@ COPY . $GOPATH/src/github.com/amacneil/dbmate
|
|||
WORKDIR $GOPATH/src/github.com/amacneil/dbmate
|
||||
|
||||
# build
|
||||
RUN go install -v
|
||||
RUN go install -v ./cmd/dbmate
|
||||
|
||||
CMD dbmate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue