-
-
Save joejulian/68fd283954007a2322a7e33c33394998 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Dockerfile b/Dockerfile | |
index 8b49567..10c3f4d 100644 | |
--- a/Dockerfile | |
+++ b/Dockerfile | |
@@ -16,21 +16,21 @@ ENV PATH $PATH:/google-cloud-sdk/bin | |
ENV ETCD_VERSION=v3.2.5 | |
ENV ETCDCTL_API=3 | |
-ENV K8S_VERSION=v1.7.6 | |
-ENV K8S_HELM_VERSION=v2.6.1 | |
+ENV K8S_VERSION=v1.8.1 | |
+ENV K8S_HELM_VERSION=v2.6.2 | |
-ENV K8S_VERSION_1_5=v1.5.8 | |
ENV K8S_VERSION_1_6=v1.6.11 | |
ENV K8S_VERSION_1_7=v1.7.8 | |
+ENV K8S_VERSION_1_8=v1.8.1 | |
-ENV K8S_HELM_VERSION_1_5=v2.3.1 | |
ENV K8S_HELM_VERSION_1_6=v2.5.1 | |
ENV K8S_HELM_VERSION_1_7=v2.6.2 | |
+ENV K8S_HELM_VERSION_1_8=v2.6.2 | |
#Latest version of tools | |
-ENV LATEST=v1.7 | |
-ENV K8S_VERSION_LATEST=$K8S_VERSION_1_7 | |
-ENV K8S_HELM_VERSION_LATEST=$K8S_HELM_VERSION_1_7 | |
+ENV LATEST=v1.8 | |
+ENV K8S_VERSION_LATEST=$K8S_VERSION_1_8 | |
+ENV K8S_HELM_VERSION_LATEST=$K8S_HELM_VERSION_1_8 | |
ENV GOPATH /go | |
ENV GO15VENDOREXPERIMENT 1 | |
@@ -83,28 +83,24 @@ RUN wget -q https://github.com/coreos/etcd/releases/download//${ETCD_VERSION | |
rm -f etcd-${ETCD_VERSION}-linux-amd64.tar.gz | |
# Creating path for helm and kubectl executables | |
-RUN mkdir -p /opt/cnct/kubernetes/v1.5/bin \ | |
- /opt/cnct/kubernetes/v1.6/bin \ | |
+RUN mkdir -p /opt/cnct/kubernetes/v1.6/bin \ | |
/opt/cnct/kubernetes/v1.7/bin \ | |
+ /opt/cnct/kubernetes/v1.8/bin \ | |
/etc/helm/plugins | |
# Kubectl | |
-RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION_1_5}/bin/linux/amd64/kubectl && \ | |
- chmod a+x kubectl && \ | |
- mv kubectl /opt/cnct/kubernetes/v1.5/bin | |
RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION_1_6}/bin/linux/amd64/kubectl && \ | |
chmod a+x kubectl && \ | |
mv kubectl /opt/cnct/kubernetes/v1.6/bin | |
RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION_1_7}/bin/linux/amd64/kubectl && \ | |
chmod a+x kubectl && \ | |
mv kubectl /opt/cnct/kubernetes/v1.7/bin | |
+RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION_1_8}/bin/linux/amd64/kubectl && \ | |
+ chmod a+x kubectl && \ | |
+ mv kubectl /opt/cnct/kubernetes/v1.8/bin | |
# Helm | |
-RUN wget -q http://storage.googleapis.com/kubernetes-helm/helm-${K8S_HELM_VERSION_1_5}-linux-amd64.tar.gz && \ | |
- tar -zxvf helm-${K8S_HELM_VERSION_1_5}-linux-amd64.tar.gz && \ | |
- mv linux-amd64/helm /opt/cnct/kubernetes/v1.5/bin/helm && \ | |
- rm -rf linux-amd64 helm-${K8S_HELM_VERSION_1_5}-linux-amd64.tar.gz | |
RUN wget -q http://storage.googleapis.com/kubernetes-helm/helm-${K8S_HELM_VERSION_1_6}-linux-amd64.tar.gz && \ | |
tar -zxvf helm-${K8S_HELM_VERSION_1_6}-linux-amd64.tar.gz && \ | |
mv linux-amd64/helm /opt/cnct/kubernetes/v1.6/bin/helm && \ | |
@@ -113,6 +109,10 @@ RUN wget -q http://storage.googleapis.com/kubernetes-helm/helm-${K8S_HELM_VE | |
tar -zxvf helm-${K8S_HELM_VERSION_1_7}-linux-amd64.tar.gz && \ | |
mv linux-amd64/helm /opt/cnct/kubernetes/v1.7/bin/helm && \ | |
rm -rf linux-amd64 helm-${K8S_HELM_VERSION_1_7}-linux-amd64.tar.gz | |
+RUN wget -q http://storage.googleapis.com/kubernetes-helm/helm-${K8S_HELM_VERSION_1_8}-linux-amd64.tar.gz && \ | |
+ tar -zxvf helm-${K8S_HELM_VERSION_1_8}-linux-amd64.tar.gz && \ | |
+ mv linux-amd64/helm /opt/cnct/kubernetes/v1.8/bin/helm && \ | |
+ rm -rf linux-amd64 helm-${K8S_HELM_VERSION_1_8}-linux-amd64.tar.gz | |
RUN ln -s /opt/cnct/kubernetes/${LATEST} /opt/cnct/kubernetes/latest && \ | |
ln -s /opt/cnct/kubernetes/${LATEST}/bin/kubectl /usr/bin/ && \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment