-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
- Loading branch information
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
echo "Downloading Go" | ||
|
||
curl -SLsf https://dl.google.com/go/go1.12.14.linux-armv6l.tar.gz > go.tgz | ||
sudo rm -rf /usr/local/go/ | ||
sudo mkdir -p /usr/local/go/ | ||
sudo tar -xvf go.tgz -C /usr/local/go/ --strip-components=1 | ||
|
||
export GOPATH=$HOME/go/ | ||
export PATH=$PATH:/usr/local/go/bin/ | ||
|
||
go version | ||
|
||
echo "Building containerd" | ||
|
||
mkdir -p $GOPATH/src/github.com/containerd | ||
cd $GOPATH/src/github.com/containerd | ||
git clone https://github.com/containerd/containerd | ||
|
||
cd containerd | ||
git fetch origin --tags | ||
git checkout v1.3.2 | ||
|
||
make | ||
sudo make install | ||
|
||
sudo containerd --version |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
echo "Downloading Go" | ||
|
||
curl -SLsf https://dl.google.com/go/go1.12.14.linux-amd64.tar.gz > go.tgz | ||
sudo rm -rf /usr/local/go/ | ||
sudo mkdir -p /usr/local/go/ | ||
sudo tar -xvf go.tgz -C /usr/local/go/ --strip-components=1 | ||
|
||
export GOPATH=$HOME/go/ | ||
export PATH=$PATH:/usr/local/go/bin/ | ||
|
||
go version | ||
|
||
echo "Building containerd" | ||
|
||
mkdir -p $GOPATH/src/github.com/containerd | ||
cd $GOPATH/src/github.com/containerd | ||
git clone https://github.com/containerd/containerd | ||
|
||
cd containerd | ||
git fetch origin --tags | ||
git checkout v1.3.2 | ||
|
||
make | ||
sudo make install | ||
|
||
sudo containerd --version |
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