fix(backend): build dependencies

This commit is contained in:
leandrofars 2025-04-02 10:12:53 -03:00
parent 018b6f2eff
commit b1d824d9e2
9 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder
FROM golang:1.23 as builder
WORKDIR /app
COPY ../ .
RUN CGO_ENABLED=0 GOOS=linux go build -o controller cmd/controller/main.go

View File

@ -1,6 +1,8 @@
module github.com/leandrofars/oktopus
go 1.18
go 1.23.0
toolchain go1.23.4
require (
github.com/golang-jwt/jwt/v5 v5.2.2

View File

@ -7,6 +7,7 @@ github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=

View File

@ -1,4 +1,4 @@
FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder
FROM golang:1.23 as builder
WORKDIR /app
COPY ../ .
RUN CGO_ENABLED=0 GOOS=linux go build -o mqtt-adapter cmd/mqtt-adapter/main.go

View File

@ -1,6 +1,7 @@
module github.com/OktopUSP/oktopus/backend/services/mqtt-adapter
go 1.22.0
go 1.23.0
toolchain go1.24.1
require (

View File

@ -1,4 +1,4 @@
FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder
FROM golang:1.23 as builder
WORKDIR /app
COPY ../ .
RUN CGO_ENABLED=0 GOOS=linux go build -o ws-adapter cmd/ws-adapter/main.go

View File

@ -1,6 +1,7 @@
module github.com/OktopUSP/oktopus/backend/services/mtp/ws-adapter
go 1.22.1
go 1.23.0
toolchain go1.24.1
require (

View File

@ -1,4 +1,4 @@
FROM golang:1.22@sha256:82e07063a1ac3ee59e6f38b1222e32ce88469e4431ff6496cc40fb9a0fc18229 as builder
FROM golang:1.23 as builder
WORKDIR /app
COPY ../ .
RUN CGO_ENABLED=0 GOOS=linux go build -o ws cmd/ws/main.go

View File

@ -1,6 +1,7 @@
module github.com/OktopUSP/oktopus/ws
go 1.21.6
go 1.23.0
toolchain go1.24.1
require (