mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Initial commit
This commit is contained in:
commit
9cfc758ca1
14 changed files with 697 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM alpine:3.2
|
||||
|
||||
ENV GOPATH /go
|
||||
ENV PATH /go/bin:$PATH
|
||||
|
||||
# install build dependencies
|
||||
RUN apk add -U --no-progress go git ca-certificates
|
||||
RUN go get \
|
||||
github.com/golang/lint/golint \
|
||||
golang.org/x/tools/cmd/vet
|
||||
|
||||
# copy source files
|
||||
COPY . /go/src/github.com/adrianmacneil/dbmate
|
||||
WORKDIR /go/src/github.com/adrianmacneil/dbmate
|
||||
|
||||
# build
|
||||
RUN go get -d -t
|
||||
RUN go install -v
|
||||
|
||||
CMD dbmate
|
||||
Loading…
Add table
Add a link
Reference in a new issue