Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
fix images
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjindal committed Oct 5, 2019
1 parent d14375c commit bbdc94d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Container image that runs your code
FROM golang:1.12 as builder
FROM golang:1.12.10 as builder

WORKDIR /go/src/github.com/rajatjindal/krew-plugin-release

COPY . .

RUN go build -o bin/krew-plugin-release main.go
RUN GOOS=linux CGO_ENABLED=0 go build -o bin/krew-plugin-release main.go

FROM alpine:latest
FROM scratch

COPY --from=builder /go/src/github.com/rajatjindal/krew-plugin-release/bin/krew-plugin-release /usr/local/bin/krew-plugin-release
ENTRYPOINT [ "krew-plugin-release" ]
# ENTRYPOINT [ "krew-plugin-release" ]

0 comments on commit bbdc94d

Please sign in to comment.