Skip to content

Commit 1652f15

Browse files
committed
📦 build(docker): update Dockerfile with additional packages
- add yum update and install coreutils for enhanced utility support - ensure jq, kubectl, and aws-iam-authenticator are installed with proper permissions
1 parent 07a35c1 commit 1652f15

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
FROM amazon/aws-cli:latest
22

33
# Install required tools in one layer to reduce image size
4-
RUN curl -sL -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 && \
4+
RUN yum update -y && \
5+
yum install -y coreutils && \
6+
curl -sL -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 && \
57
chmod +x /usr/bin/jq && \
68
curl -sL -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
79
curl -sL -o /usr/bin/aws-iam-authenticator $(curl -s https://api.github.com/repos/kubernetes-sigs/aws-iam-authenticator/releases/latest | jq -r '.assets[] | select(.name | contains("linux_amd64"))' | jq -r '.browser_download_url') && \

0 commit comments

Comments
 (0)