Skip to content

Commit

Permalink
Merge pull request #73 from ClarkSource/docker-improvements
Browse files Browse the repository at this point in the history
install tools on container
  • Loading branch information
AFriemann authored Jun 26, 2020
2 parents b463ad9 + 78d370a commit ea0c8be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ FROM python:3-alpine

LABEL maintainer="CloudOps <[email protected]>"

ARG KUBECTL_VERSION="1.18.0"

# Install kubectl
RUN \
apk add --no-cache openssl curl tar gzip bash ca-certificates && \
curl -L -o /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /usr/bin/kubectl && \
kubectl version --client

# Install app
COPY . /app
WORKDIR /app

Expand Down

0 comments on commit ea0c8be

Please sign in to comment.