Skip to content

Commit

Permalink
Update Dockerfile (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
karanssj4 authored Sep 18, 2020
1 parent 4d7183f commit a994d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine:3.9
FROM alpine:3.9 as builder

RUN apk add --no-cache curl
COPY ./build/VERSION VERSION
RUN version=$(cat VERSION) && curl -L "https://github.com/kubernetes/kompose/releases/download/v${version}/kompose-linux-amd64" -o kompose

FROM alpine:3.9

COPY --from=0 /kompose /usr/bin/kompose
COPY --from=builder /kompose /usr/bin/kompose
RUN chmod +x /usr/bin/kompose

0 comments on commit a994d6b

Please sign in to comment.