28 lines
881 B
Docker
28 lines
881 B
Docker
FROM ghcr.io/jswank/alpine-cli:3
|
|
|
|
LABEL org.opencontainers.image.title=jswank/aws-cli \
|
|
org.opencontainers.image.description="A minimal image for running AWS CLI " \
|
|
org.opencontainers.image.url=https://git.sr.ht/~jswank/aws-cli \
|
|
org.opencontainers.image.authors="Jason Swank" \
|
|
org.opencontainers.image.licenses=MIT
|
|
|
|
USER root
|
|
|
|
RUN apk add -U --no-cache stow curl git \
|
|
just go-task \
|
|
neovim \
|
|
aws-cli aws-cli-bash-completion aws-cli-doc mandoc
|
|
|
|
# install eksctl
|
|
RUN curl -sL https://github.com/eksctl-io/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz \
|
|
| tar -xzf - \
|
|
&& install eksctl /usr/local/bin/eksctl
|
|
|
|
# install kubectl
|
|
RUN cd /tmp \
|
|
&& curl -sLO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
|
|
&& install kubectl /usr/local/bin/kubectl \
|
|
&& rm kubectl
|
|
|
|
USER cli
|