Skip to content

Commit

Permalink
chore(deps): update all non-major dockerfile dependencies (#777)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Max Baumann <max@bmn.dev>
  • Loading branch information
renovate[bot] and FoseFx authored Aug 14, 2024
1 parent 8084d6b commit 75aba42
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.impulse-svc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.3
FROM python:3.12.5

# gRPC Port
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# builder builds a go service
# the build args SERVICE and VERSION must be set!

FROM golang:1.22 AS builder
FROM golang:1.23-bookworm AS builder

ARG SERVICE
ARG VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.standalone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# builder builds a go service
# the build args SERVICE and VERSION must be set!

FROM golang:1.22 AS builder
FROM golang:1.23-bookworm AS builder

ARG SERVICE
ARG VERSION
Expand Down
2 changes: 1 addition & 1 deletion images/dev-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# based on the debian 12 ("bookworm") go image
# for now this only builds x86_64 images (TODO)
FROM golang:1.22-bookworm
FROM golang:1.23-bookworm

# appearently this is not set by the go image
ENV GOROOT="/usr/local/go"
Expand Down
10 changes: 6 additions & 4 deletions services/task-svc/internal/task-template/task_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ package task_template
import (
"common"
"context"
"github.com/google/uuid"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"hwdb"
"hwutil"
"task-svc/repos/task_template_repo"

"github.com/google/uuid"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

pb "gen/services/task_svc/v1"

zlog "github.com/rs/zerolog/log"
)

Expand All @@ -27,7 +29,7 @@ func (ServiceServer) CreateTaskTemplate(ctx context.Context, req *pb.CreateTaskT
db := hwdb.GetDB()
tx, err := db.Begin(ctx)
if err != nil {
return nil, status.Errorf(codes.Internal, "could not start tx: "+err.Error())
return nil, status.Errorf(codes.Internal, "could not start tx: %s", err.Error())
}
defer func() {
_ = tx.Rollback(ctx)
Expand Down

0 comments on commit 75aba42

Please sign in to comment.