Skip to content

Commit

Permalink
RKE 1.2.3
Browse files Browse the repository at this point in the history
rancher/hyperkube:v1.19.4-rancher1
  • Loading branch information
insekticid authored Jan 6, 2021
1 parent cc4580e commit a08d7b3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hashicorp/terraform:0.13.0
FROM hashicorp/terraform:0.14.3

RUN apk -Uuv add ca-certificates openssl groff less git bash wget make jq curl unzip sed

Expand All @@ -10,19 +10,23 @@ CMD ["--help"]

ENV USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36"

ENV RKE_VERSION=v1.1.4
RUN curl -L -o kubectl-cert-manager.tar.gz https://github.com/jetstack/cert-manager/releases/download/v1.1.0/kubectl-cert_manager-linux-amd64.tar.gz
RUN tar xzf kubectl-cert-manager.tar.gz
RUN mv kubectl-cert_manager /usr/local/bin

ENV RKE_VERSION=v1.2.3
RUN wget -q --user-agent="${USER_AGENT}" https://github.com/rancher/rke/releases/download/${RKE_VERSION}/rke_linux-amd64
RUN chmod +x rke_linux-amd64
RUN mv rke_linux-amd64 /usr/bin/rke

# Note: Latest version of helm may be found at:
# https://github.com/kubernetes/helm/releases
ENV HELM_VERSION="v2.16.10"
ENV HELM_VERSION="v2.17.0"

RUN wget -q --user-agent="${USER_AGENT}" https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/bin/helm \
&& chmod +x /usr/bin/helm

ENV HELM_VERSION3="v3.3.0"
ENV HELM_VERSION3="v3.4.2"

RUN wget -q --user-agent="${USER_AGENT}" https://get.helm.sh/helm-${HELM_VERSION3}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/bin/helm3 \
&& chmod +x /usr/bin/helm3
Expand Down

0 comments on commit a08d7b3

Please sign in to comment.