Skip to content

Instantly share code, notes, and snippets.

@xynova
Created April 21, 2018 11:18
Show Gist options
  • Save xynova/3046fd7f849a10c699930909cc6af672 to your computer and use it in GitHub Desktop.
Save xynova/3046fd7f849a10c699930909cc6af672 to your computer and use it in GitHub Desktop.
aws-kubectl Dockerfile
FROM mesosphere/aws-cli as PKG
RUN apk --no-cache add openssl \
&& wget -q -O kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl \
&& wget -q -O gomplate https://github.com/hairyhenderson/gomplate/releases/download/v2.4.0/gomplate_linux-amd64-slim \
&& chmod +x kubectl gomplate \
&& mv kubectl gomplate /usr/local/bin
ENTRYPOINT ["/bin/sh","-c"]
CMD [""]
USER 1234567890
WORKDIR /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment