correct binary installation
This commit is contained in:
parent
84be6af736
commit
c1f0e9da3e
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ 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 go build -v ./cmd/...
|
||||
RUN CGO_ENABLED=0 GOOS=linux go install -v ./...
|
||||
|
||||
FROM scratch
|
||||
FROM busybox
|
||||
WORKDIR /usr/bin/
|
||||
COPY --from=builder /go/bin/panelcli /usr/bin/
|
||||
COPY --from=builder /go/bin/userpanel /usr/bin/
|
||||
|
|
Reference in a new issue