1
0
Fork 0
forked from boyska/feedpanel

fix build with missing vendor/

This commit is contained in:
boyska 2018-10-02 01:57:55 +02:00
parent 5abac50fca
commit 6605001ad9

View file

@ -2,7 +2,7 @@ FROM golang:1.11-alpine as builder
RUN apk --no-cache add git gcc musl-dev RUN apk --no-cache add git gcc musl-dev
WORKDIR /go/src/git.lattuga.net/boyska/feedpanel/ WORKDIR /go/src/git.lattuga.net/boyska/feedpanel/
COPY ./ /go/src/git.lattuga.net/boyska/feedpanel/ COPY ./ /go/src/git.lattuga.net/boyska/feedpanel/
RUN CGO_ENABLED=0 GOOS=linux go install ./... RUN go get -v ./... && CGO_ENABLED=0 GOOS=linux go install ./...
FROM busybox FROM busybox
WORKDIR /usr/bin/ WORKDIR /usr/bin/