-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
34 lines (26 loc) · 995 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM alpine:3.12.0
LABEL maintainer="Douglas Quintanilha"
ARG BASH_VERSION="5.0.17-r0"
ARG CURL_VERSION="7.69.1-r0"
ARG DOCKER_CLI_VERSION="19.03.12-r0"
ARG DOCKER_COMPOSE_VERSION="1.25.4-r2"
ARG GIT_VERSION="2.26.2-r0"
ARG MAKE_VERSION="4.3-r0"
ARG KUBECTL_VERSION="v1.18.8"
ARG HELM_VERSION="v3.3.0"
RUN apk update && \
apk add bash=${BASH_VERSION} \
curl=${CURL_VERSION} \
docker-cli=${DOCKER_CLI_VERSION} \
docker-compose=${DOCKER_COMPOSE_VERSION} \
git=${GIT_VERSION} \
make=${MAKE_VERSION}
RUN curl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl --output /bin/kubectl \
&& chmod u+x /bin/kubectl
RUN curl https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz --output - | \
tar -xzf - -C /tmp/ \
&& mv /tmp/linux-amd64/helm /bin/ \
&& chmod +x /bin/helm \
&& rm -rf /tmp/linux-amd64
ENTRYPOINT [ "/bin/bash", "-c" ]
CMD [ "bash" ]