diff --git a/Dockerfile b/Dockerfile index eac4d88..6d74f56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,13 @@ FROM golang:1.25-alpine AS builder WORKDIR /app -RUN apk add --no-cache ca-certificates +RUN apk add --no-cache ca-certificates git + +ENV GOPRIVATE=git.daviestechlabs.io +ENV GONOSUMCHECK=git.daviestechlabs.io COPY go.mod go.sum ./ -RUN go mod download +RUN --mount=type=secret,id=netrc,target=/root/.netrc go mod download COPY . . diff --git a/go.mod b/go.mod index 087a836..53c727c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.daviestechlabs.io/daviestechlabs/stt-module go 1.25.1 require ( - git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3 + git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5 github.com/nats-io/nats.go v1.48.0 github.com/vmihailenco/msgpack/v5 v5.4.1 ) diff --git a/go.sum b/go.sum index 525e94c..efceef0 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3 h1:uYog8B839ulqrWoht3qqCvT7CnR3e2skpaLZc2Pg3GI= -git.daviestechlabs.io/daviestechlabs/handler-base v0.1.3/go.mod h1:M3HgvUDWnRn7cX3BE8l+HvoCUYtmRr5OoumB+hnRHoE= +git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5 h1:DqYZpeluTXh5QKqdVFgN8YIMh4Ycqzw5E9+5FTNDFCA= +git.daviestechlabs.io/daviestechlabs/handler-base v0.1.5/go.mod h1:M3HgvUDWnRn7cX3BE8l+HvoCUYtmRr5OoumB+hnRHoE= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=