Commit fd500fb9 authored by nimrod's avatar nimrod
Browse files

Alpine version.

parent 9e57e3fb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
FROM golang:1.10-stretch as build
FROM golang:1.10-alpine3.7 as build
RUN apk add --no-cache --update git build-base
RUN /usr/local/go/bin/go get github.com/pressly/goose/cmd/goose

FROM debian:stretch-slim
FROM alpine:3.7
COPY --from=build /go/bin/goose /usr/local/bin/goose
ENTRYPOINT /usr/local/bin/goose
VOLUME /migrations