Skip to content

Commit d0ab70e

Browse files
authored
Add aws-iam-authenticator to the AWS options as it is required when working with AWS Kubernetes deployments (#27)
Signed-off-by: Daniel Chaffelson <[email protected]>
1 parent 7461c55 commit d0ab70e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ LABEL org.label-schema.build-date="${CLDR_BUILD_DATE}" \
6767
org.label-schema.version="${CLDR_BUILD_VER}"
6868

6969
RUN if [[ -z "$KUBECTL" ]] ; then echo KUBECTL not requested ; else dnf install -y kubectl ; fi \
70-
&& if [[ -z "$AWS" ]] ; then echo AWS not requested ; else pip install --no-cache-dir -r /runner/deps/python_aws.txt ; fi \
70+
&& if [[ -z "$AWS" ]] ; then echo AWS not requested ; else \
71+
pip install --no-cache-dir -r /runner/deps/python_aws.txt && \
72+
curl -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator && \
73+
chmod +x /usr/local/bin/aws-iam-authenticator \
74+
; fi \
7175
&& if [[ -z "$GCLOUD" ]] ; then echo GCLOUD not requested ; else dnf install -y google-cloud-sdk && pip install --no-cache-dir -r /runner/deps/python_gcp.txt ; fi \
7276
&& if [[ -z "$AZURE" ]] ; then echo AZURE not requested ; else dnf install -y azure-cli && pip install --no-cache-dir -r /runner/deps/python_azure.txt ; fi \
7377
&& if [[ -z "$CDPY" ]] ; then echo CDPY not requested ; else pip install git+git://github.com/cloudera-labs/cdpy@main#egg=cdpy --upgrade ; fi \

0 commit comments

Comments
 (0)