Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Commit

Permalink
Adding docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito committed May 14, 2020
1 parent d252db3 commit d928ef1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
FROM alpine:3.11

ARG DOCKER_VERSION=18.06.3-ce
ARG HELM_VERSION=3.2.0
ARG KUBECTL_VERSION=1.18.2
ARG AWS_IAM_AUTH_VERSION=0.5.0
ARG AWSCLI_VERSION=1.18.43
ARG DOCTL_VERSION=1.41.0

# default docker target assuming a docker:dind service is avaibable
ENV DOCKER_HOST "tcp://docker:2375"
ENV DOCKER_DRIVER "overlay2"

WORKDIR /tmp

RUN apk add --update --no-cache --virtual .build-deps \
curl ca-certificates
RUN apk add --update --no-cache --virtual .build-deps curl ca-certificates

# Install docker
RUN curl -L https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar xz && \
mv docker/docker /usr/local/bin/docker && \
chmod +x /usr/local/bin/docker

# Install kubectl
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
Expand Down

0 comments on commit d928ef1

Please # to comment.