Update Dockerfile (#1320)

This commit is contained in:
karanssj4 2020-09-18 15:20:18 +05:30 committed by GitHub
parent 4d7183f86c
commit a994d6bc04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:3.9 as builder
RUN apk add --no-cache curl
COPY ./build/VERSION VERSION
@ -6,5 +6,5 @@ RUN version=$(cat VERSION) && curl -L "https://github.com/kubernetes/kompose/rel
FROM alpine:3.9
COPY --from=0 /kompose /usr/bin/kompose
COPY --from=builder /kompose /usr/bin/kompose
RUN chmod +x /usr/bin/kompose