This commit is contained in:
yuli
2024-12-26 23:26:03 +02:00
parent 9b1484da3b
commit 15f9864047
2 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ FROM golang:alpine AS builder
RUN apk update && apk add --no-cache git gcc libc-dev openssl && go install github.com/gobuffalo/packr/packr@latest
WORKDIR /go/src/securitybunker/databunker/src/
COPY src/go.mod ./deps
RUN cat ./deps | grep -v storage > ./go.mod && go mod download
RUN cat ./deps | grep -v storage | grep -v utils > ./go.mod && go mod download
COPY . /go/src/securitybunker/databunker/
WORKDIR /go/src/securitybunker/databunker/
#RUN echo "tidy " && go get -u && go mod tidy && cat ./go.mod

View File

@@ -19,11 +19,10 @@ require (
github.com/prometheus/client_golang v1.20.5
github.com/qri-io/jsonpointer v0.1.1
github.com/securitybunker/databunker/src/storage v0.0.0
github.com/securitybunker/databunker/src/utils v0.0.0-20241226201542-d0c5d1a19645
github.com/securitybunker/jsonschema v0.2.1-0.20201128224651-d77c1a3cb787
github.com/tidwall/gjson v1.18.0
github.com/ttacon/libphonenumber v1.2.1
go.mongodb.org/mongo-driver v1.17.1
golang.org/x/sys v0.28.0
gopkg.in/yaml.v2 v2.4.0
)
@@ -52,19 +51,20 @@ require (
github.com/prometheus/procfs v0.15.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/securitybunker/databunker/src/utils v0.0.0-20241226201542-d0c5d1a19645 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 // indirect
github.com/ttacon/libphonenumber v1.2.1 // indirect
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
golang.org/x/image v0.23.0 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/sys v0.28.0 // indirect
google.golang.org/protobuf v1.36.1 // indirect
modernc.org/gc/v3 v3.0.0-20241213165251-3bc300f6d0c9 // indirect
modernc.org/libc v1.61.4 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/gc/v3 v3.0.0-20241223112719-96e2e1e4408d // indirect
modernc.org/libc v1.61.5 // indirect
modernc.org/mathutil v1.7.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/sqlite v1.34.3 // indirect
modernc.org/sqlite v1.34.4 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/token v1.1.0 // indirect
)