summaryrefslogtreecommitdiffstats
path: root/utils/kube_setup/kube_env.sh
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-07-17 16:15:29 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-07-27 04:02:31 +0000
commit07b553641c1f5991191eb4efcb238cd819f7f6a8 (patch)
tree04c2c6aebe97ea28ab7bdcdb3048fa0aefaca5ad /utils/kube_setup/kube_env.sh
parent24f6b42ef50ce2e71ab7cc1e514871c8e0feadec (diff)
Add golang installation
Bottlenecks container does not have golang installed. This patch is to add golang installation script for later usage. Change-Id: I1456bae1e0f0ab018014d0dc9ae6df334123bc9f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'utils/kube_setup/kube_env.sh')
-rw-r--r--utils/kube_setup/kube_env.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/kube_setup/kube_env.sh b/utils/kube_setup/kube_env.sh
new file mode 100644
index 00000000..855dea2f
--- /dev/null
+++ b/utils/kube_setup/kube_env.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+export GOROOT=/usr/local/go
+export GOPATH=${HOME}/go
+export PATH=${PATH}:${GOROOT}/bin:${GOPATH}/bin
+