Skip to content

Commit 750cfbf

Browse files
Prometheus2677FPiety0521
authored and
FPiety0521
committed
Revert "Docker builds need to use dep to manage dependencies"
This reverts commit 4937cd088f7c7193ee59b319c1c2caa7482aae8e.
1 parent 091a26b commit 750cfbf

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Dockerfile

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
FROM golang:1.11-alpine3.8 AS downloader
22
ARG VERSION
33

4-
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
4+
RUN apk add --no-cache git gcc musl-dev
75

86
WORKDIR /go/src/github.com/golang-migrate/migrate
97

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
8+
COPY . ./
179

1810
ENV GO111MODULE=on
1911
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse"

0 commit comments

Comments
 (0)