fix go dependency so it's all versions above 1.23 and create Dockerfile
This commit is contained in:
parent
1516169ef7
commit
50df898e62
3 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.23-alpine AS build
|
FROM golang:1.27-alpine AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
||||||
module ucfa/st-agent-worker
|
module ucfa/st-agent-worker
|
||||||
|
|
||||||
go 1.27.0
|
go 1.26.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
golang.org/x/time v0.16.0
|
golang.org/x/time v0.16.0
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/subtle"
|
"crypto/subtle"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue