mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-05 04:56:11 +00:00
Bumps amazon/aws-cli from 2.32.13 to 2.32.14. --- updated-dependencies: - dependency-name: amazon/aws-cli dependency-version: 2.32.14 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
1.4 KiB
Docker
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.220.0 AS eksctl
|
|
FROM mikefarah/yq:4.49.2 AS yq
|
|
FROM amazon/aws-cli:2.32.14
|
|
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
|