浏览代码

fix build with missing vendor/

boyska 5 年之前
父节点
当前提交
6605001ad9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@ FROM golang:1.11-alpine as builder
 RUN apk --no-cache add git gcc musl-dev
 WORKDIR /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
 WORKDIR /usr/bin/