We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db57523 commit b71fc30Copy full SHA for b71fc30
Dockerfile
@@ -1,11 +1,19 @@
1
FROM golang:1.11-alpine3.8 AS downloader
2
ARG VERSION
3
4
-RUN apk add --no-cache git gcc musl-dev
+RUN apk add --no-cache git gcc musl-dev curl
5
+
6
+RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && chmod +x /usr/local/bin/dep
7
8
WORKDIR /go/src/github.com/golang-migrate/migrate
9
-COPY . ./
10
+COPY Gopkg.toml Gopkg.lock ./
11
+RUN dep ensure -vendor-only
12
13
+COPY *.go ./
14
+COPY cli ./cli
15
+COPY database ./database
16
+COPY source ./source
17
18
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse"
19
ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage"
0 commit comments