Skip to content

Instantly share code, notes, and snippets.

@limed
Created May 14, 2019 20:09
Show Gist options
  • Save limed/b5cfb865c0d8ad39827e55689b5b9d18 to your computer and use it in GitHub Desktop.
Save limed/b5cfb865c0d8ad39827e55689b5b9d18 to your computer and use it in GitHub Desktop.
FROM alpine:3.9
ENV LIFECYCLED_VERSION="v3.0.2"
ENV KUBECTL_VERSION="v1.12.1"
ENV TERM=xterm
RUN apk add --no-cache bash curl && \
curl -Lf -o lifecycled https://github.com/buildkite/lifecycled/releases/download/v3.0.2/lifecycled-linux-amd64 && \
chmod +x lifecycled && \
curl -Lf -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /usr/bin/kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment