File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,9 @@ function install_pkgs() {
8
8
done
9
9
}
10
10
install_pkgs make "linux-headers-$(uname -r)" linux-libc-dev \
11
- graphviz jq curl binutils gnupg gnupg-agent gcc \
11
+ graphviz jq curl binutils gnupg gnupg-agent golang-go \
12
12
apt-transport-https ca-certificates software-properties-common
13
13
14
- # Install Go 1.16, as only 1.13 is available via apt.
15
- declare -r go_archive=go1.16.6.linux-amd64.tar.gz
16
- wget "https://golang.org/dl/${go_archive}"
17
- sudo tar -xzf "${go_archive}" -C /usr/local
18
- sudo ln -s /usr/local/go/bin/go /usr/bin/go
19
- rm "${go_archive}"
20
-
21
14
# Setup for parallelization with PARTITION and TOTAL_PARTITIONS.
22
15
export PARTITION=${BUILDKITE_PARALLEL_JOB:-0}
23
16
PARTITION=$((${PARTITION}+1)) # 1-indexed, but PARALLEL_JOB is 0-indexed.
Original file line number Diff line number Diff line change @@ -36,10 +36,9 @@ install_helper() {
36
36
mkdir -p " ${GOPATH} " /src/$( dirname " ${PACKAGE} " ) && \
37
37
git clone https://" ${PACKAGE} " " ${GOPATH} " /src/" ${PACKAGE} "
38
38
39
- # Checkout and build the repository. We use a pre-GO111MODULE containerd.
39
+ # Checkout and build the repository.
40
40
(cd " ${GOPATH} " /src/" ${PACKAGE} " && \
41
41
git checkout " ${TAG} " && \
42
- export GO111MODULE=off && \
43
42
make && \
44
43
make install)
45
44
}
You can’t perform that action at this time.
0 commit comments