-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f2a6184
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM alpine:3.11 | ||
|
||
# Note: Latest version of aws-iam-authenticator may be found at: | ||
# https://github.com/kubernetes-sigs/aws-iam-authenticator/releases | ||
ENV AWS_IAM_AUTHENTICATOR_LATEST_VERSION="v0.5.0" | ||
|
||
RUN apk add --update ca-certificates bash gnupg jq py-pip \ | ||
&& apk add --update -t deps curl gettext \ | ||
&& pip install awscli \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
RUN curl -L https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/${AWS_IAM_AUTHENTICATOR_LATEST_VERSION}/aws-iam-authenticator_${AWS_IAM_AUTHENTICATOR_LATEST_VERSION}_linux_amd64 -o /usr/local/bin/aws-iam-authenticator \ | ||
& wait \ | ||
&& chmod +x /usr/local/bin/aws-iam-authenticator | ||
|
||
# Note: Latest version of kubectl may be found at: | ||
# https://github.com/kubernetes/kubernetes/releases | ||
ENV KUBE_LATEST_VERSION="v1.17.2" | ||
# Note: Latest version of helm may be found at: | ||
# https://github.com/kubernetes/helm/releases | ||
ENV HELM_VERSION="v3.0.3" | ||
|
||
RUN apk add --no-cache ca-certificates bash git openssh curl \ | ||
&& wget -q https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl \ | ||
&& chmod +x /usr/local/bin/kubectl \ | ||
&& wget -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm \ | ||
&& chmod +x /usr/local/bin/helm | ||
|
||
WORKDIR /config | ||
ENV KUBECONFIG=/root/.kube/config | ||
|
||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# helm-eks |