From fe2673ed7be9559eaca134424e403a4faca100b0 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 4 Jan 2022 12:09:34 +0000 Subject: [PATCH] Go 1.16 instead of Go 1.13 for upgrade tests and Complement --- build/scripts/Complement.Dockerfile | 2 +- cmd/dendrite-upgrade-tests/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/Complement.Dockerfile b/build/scripts/Complement.Dockerfile index de51f16da..55b381ba5 100644 --- a/build/scripts/Complement.Dockerfile +++ b/build/scripts/Complement.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13-stretch as build +FROM golang:1.16-stretch as build RUN apt-get update && apt-get install -y sqlite3 WORKDIR /build diff --git a/cmd/dendrite-upgrade-tests/main.go b/cmd/dendrite-upgrade-tests/main.go index aa8c7fdce..35852e8ac 100644 --- a/cmd/dendrite-upgrade-tests/main.go +++ b/cmd/dendrite-upgrade-tests/main.go @@ -48,7 +48,7 @@ const HEAD = "HEAD" // due to the error: // When using COPY with more than one source file, the destination must be a directory and end with a / // We need to run a postgres anyway, so use the dockerfile associated with Complement instead. -const Dockerfile = `FROM golang:1.13-stretch as build +const Dockerfile = `FROM golang:1.16-stretch as build RUN apt-get update && apt-get install -y postgresql WORKDIR /build