Skip to content

Instantly share code, notes, and snippets.

@vunguyen-it
Created December 8, 2022 03:18
Show Gist options
  • Save vunguyen-it/8758a7acf95240a2b3b0215b6b5b9cad to your computer and use it in GitHub Desktop.
Save vunguyen-it/8758a7acf95240a2b3b0215b6b5b9cad to your computer and use it in GitHub Desktop.
Dockerfile for auto devops with awscli, kubectl, helm
# aws-devops docker image for bitbucket pipeline
FROM alpine:3.17.0
RUN apk add --no-cache helm curl aws-cli
RUN curl -LO https://dl.k8s.io/release/v1.25.0/bin/linux/amd64/kubectl && \
mv ./kubectl /usr/local/bin/
RUN chmod +x /usr/local/bin/kubectl
ENTRYPOINT ["/bin/sh", "-c"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment