Skip to content

Commit

Permalink
Revert "Docker builds need to use dep to manage dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 4937cd0.
  • Loading branch information
dhui committed Oct 10, 2018
1 parent 107db3f commit 60b45ba
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
FROM golang:1.11-alpine3.8 AS downloader
ARG VERSION

RUN apk add --no-cache git gcc musl-dev curl

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

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

COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure -vendor-only

COPY *.go ./
COPY cli ./cli
COPY database ./database
COPY source ./source
COPY . ./

ENV GO111MODULE=on
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse"
Expand Down

0 comments on commit 60b45ba

Please sign in to comment.