Skip to content

Commit 85ba62b

Browse files
committed
Use Go 1.13 in docs
Go 1.13 is new enough for us, and Go 1.14 is probably too new. * Amazon Linux 2 doesn't have the version. * containerd uses bbolt v1.3.3 which doesn't work with Go 1.14 Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 67089f8 commit 85ba62b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You need to have the following things in order to use firecracker-containerd:
4242
[described here](https://github.com/firecracker-microvm/firecracker/blob/master/docs/getting-started.md#running-firecracker)
4343
as `hello-rootfs.ext4`).
4444
* A recent installation of [Docker CE](https://docker.com).
45-
* Go 1.11 or later, which you can download from [here](https://golang.org/dl/).
45+
* Go 1.13 or later, which you can download from [here](https://golang.org/dl/).
4646

4747
## Setup
4848

docs/quickstart.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ files into `/usr/local/bin`.
2828

2929
cd ~
3030

31-
# Install git, Go 1.11, make, curl
31+
# Install git, Go 1.13, make, curl
3232
sudo mkdir -p /etc/apt/sources.list.d
33+
echo "deb http://ftp.debian.org/debian buster-backports main" | \
34+
sudo tee /etc/apt/sources.list.d/buster-backports.list
3335
sudo DEBIAN_FRONTEND=noninteractive apt-get update
3436
sudo DEBIAN_FRONTEND=noninteractive apt-get \
3537
install --yes \
36-
golang-go \
38+
golang-1.13 \
3739
make \
3840
git \
3941
curl \
@@ -42,6 +44,9 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get \
4244
bc \
4345
gnupg
4446

47+
# Debian's Go 1.13 package installs "go" command under /usr/lib/go-1.13/bin
48+
export PATH=/usr/lib/go-1.13/bin:$PATH
49+
4550
cd ~
4651

4752
# Install Docker CE

0 commit comments

Comments
 (0)