switch to go 1.17

This commit is contained in:
aler9 2021-11-12 22:40:23 +01:00
parent a84904efdb
commit 17c393bcbb
7 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.17"
- run: |
go mod download

View file

@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.16-alpine3.13
BASE_IMAGE = golang:1.17-alpine3.13
LINT_IMAGE = golangci/golangci-lint:v1.40
NODE_IMAGE = node:14-alpine3.13

View file

@ -459,7 +459,7 @@ go tool pprof -text http://localhost:9999/debug/pprof/profile?seconds=30
### Compile and run from source
Install Go 1.16, download the repository, open a terminal in it and run:
Install Go 1.17, download the repository, open a terminal in it and run:
```
go run .

View file

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.12
FROM golang:1.17-alpine3.13
RUN apk add --no-cache \
ffmpeg

View file

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.12
FROM golang:1.17-alpine3.13
RUN apk add --no-cache \
ffmpeg

View file

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.12
FROM golang:1.17-alpine3.13
RUN apk add --no-cache \
ffmpeg

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/aler9/rtsp-simple-server
go 1.16
go 1.17
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect