Skip to content

Commit

Permalink
PROT-5990 | Modify action
Browse files Browse the repository at this point in the history
  • Loading branch information
roimor committed Mar 15, 2022
1 parent 26ee75a commit ed9156b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM alpine/helm as builder

FROM amazon/aws-cli

ENV BASE_URL="https://get.helm.sh"
Expand All @@ -10,14 +12,10 @@ RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s
mv ./kubectl /usr/bin/kubectl && \
yum install -y gettext

RUN curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz && \
mv linux-amd64/helm /usr/bin/helm3 && \
chmod +x /usr/bin/helm3 && \
rm -rf linux-amd64

RUN kubectl version --client

COPY entrypoint.sh /entrypoint.sh
COPY --from=builder /usr/bin/helm /usr/bin/helm

RUN chmod +x /entrypoint.sh

Expand Down

0 comments on commit ed9156b

Please sign in to comment.