fix go dependency so it's all versions above 1.23 and create Dockerfile

This commit is contained in:
Miloš Jovanović 2026-09-10 13:28:40 +02:00
parent 1516169ef7
commit 50df898e62
3 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.23-alpine AS build
FROM golang:1.27-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download

2
go.mod
View file

@ -1,6 +1,6 @@
module ucfa/st-agent-worker
go 1.27.0
go 1.26.0
require (
golang.org/x/time v0.16.0

View file

@ -4,7 +4,6 @@ import (
"context"
"crypto/subtle"
"errors"
"fmt"
"log"
"net/http"
"strconv"