Files
pinniped/dockerfiles/eks-deployer/Dockerfile
Joshua Casey 91802dca8b Merge pull request #2704 from vmware/dependabot/docker/dockerfiles/eks-deployer/ci/weaveworks/eksctl-v0.216.0
Bump weaveworks/eksctl from v0.215.0 to v0.216.0 in /dockerfiles/eks-deployer
2025-11-03 08:32:26 -06:00

30 lines
1.4 KiB
Docker

# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# For deploying an EKS cluster and setting it up to run our tests.
FROM weaveworks/eksctl:v0.216.0 AS eksctl
FROM mikefarah/yq:4.48.1 AS yq
FROM amazon/aws-cli:2.31.27
RUN yum update -y && yum install -y jq perl-Digest-SHA openssl && yum clean all
COPY --from=eksctl eksctl /usr/local/bin/eksctl
COPY --from=yq /usr/bin/yq /usr/local/bin/yq
# Install Carvel tools.
RUN bash -c "set -eo pipefail; curl -fsL https://carvel.dev/install.sh | bash" && \
ytt version && kapp version && kbld version && kwt version && imgpkg version && vendir version
# Install latest kubectl.
RUN curl -sfL "https://dl.k8s.io/release/$(curl -sfL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
-o /bin/kubectl && chmod u+x /bin/kubectl
# Install aws-iam-authenticator.
# This gets installed automatically via eksctl, but currently it downloads v0.5.2,
# which will give us a v1alpha1 execcredential rather than a v1beta1 which we want.
# When this has changed, we can delete this:
# https://github.com/weaveworks/eksctl/blob/main/build/docker/Dockerfile#L49
RUN curl -sfL \
https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.6.14/aws-iam-authenticator_0.6.14_linux_amd64 \
-o /usr/local/bin/aws-iam-authenticator \
&& chmod u+x /usr/local/bin/aws-iam-authenticator