1
0
Fork 0
forked from External/mediamtx

switch to go 1.16

This commit is contained in:
aler9 2021-06-19 18:59:33 +02:00
parent 64273b9682
commit f36951a5c1
8 changed files with 9 additions and 7 deletions

View file

@ -28,6 +28,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with:
go-version: "1.16"
- run: | - run: |
go mod download go mod download

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: "1.15" go-version: "1.16"
- run: sudo apt-get install -y --no-install-recommends ffmpeg - run: sudo apt-get install -y --no-install-recommends ffmpeg

View file

@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.15-alpine3.12 BASE_IMAGE = golang:1.16-alpine3.13
LINT_IMAGE = golangci/golangci-lint:v1.38.0 LINT_IMAGE = golangci/golangci-lint:v1.38.0
.PHONY: $(shell ls) .PHONY: $(shell ls)

View file

@ -557,7 +557,7 @@ Args:
### Compile and run from source ### Compile and run from source
Install Go 1.15, download the repository, open a terminal in it and run: Install Go 1.16, download the repository, open a terminal in it and run:
``` ```
go run . go run .

View file

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

View file

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

View file

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

2
go.mod
View file

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