pow-ready dockerfile for aws

This commit is contained in:
César Gallego Rodríguez
2020-04-27 17:50:15 +02:00
committed by pancho horrillo
parent 367cd6ad9f
commit 6249dce11d
2 changed files with 8 additions and 4 deletions
+2 -4
View File
@@ -3,7 +3,5 @@ FROM golang:1.14 as build
RUN go get github.com/BBVA/kapow
RUN CGO_ENABLED=0 GOOS=linux go install github.com/BBVA/kapow
FROM alpine:latest
COPY --from=build /go/bin/kapow /usr/bin/kapow
ENTRYPOINT /usr/bin/kapow
FROM scratch
COPY --from=build /go/bin/kapow /kapow
+6
View File
@@ -0,0 +1,6 @@
FROM kapow:latest as kp
FROM amazon/aws-cli:latest
COPY --from=kp /kapow /usr/bin/kapow
ENTRYPOINT kapow