From 66f74a23c74457ec20eea662e73b5c77f359f79e Mon Sep 17 00:00:00 2001 From: Enver Bisevac Date: Fri, 1 Dec 2023 19:20:49 +0000 Subject: [PATCH] upgrade golang to 1.20 --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a4f43fc26..05650e2f14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN yarn && yarn build && yarn cache clean # ---------------------------------------------------------# # Build gitness image # # ---------------------------------------------------------# -FROM --platform=$BUILDPLATFORM golang:1.19-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.20-alpine as builder RUN apk update \ && apk add --no-cache protoc build-base git diff --git a/README.md b/README.md index ca91034257..1719f7220a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For more information on Drone, please visit [drone.io](https://www.drone.io/). ## Gitness Development ### Pre-Requisites -Install the latest stable version of Node and Go version 1.19 or higher, and then install the below Go programs. Ensure the GOPATH [bin directory](https://go.dev/doc/gopath_code#GOPATH) is added to your PATH. +Install the latest stable version of Node and Go version 1.20 or higher, and then install the below Go programs. Ensure the GOPATH [bin directory](https://go.dev/doc/gopath_code#GOPATH) is added to your PATH. Install protobuf - Check if you've already installed protobuf ```protoc --version```