mirror of
https://github.com/outbackdingo/databunker.git
synced 2026-01-27 10:18:45 +00:00
revert some changed
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
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 | grep -v utils | grep -v audit > ./go.mod && go mod download
|
||||
COPY src/go.mod ./go.mod
|
||||
#RUN cat ./deps | grep -v storage | grep -v utils | grep -v audit > ./go.mod && go mod download
|
||||
RUN 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
|
||||
|
||||
4
build.sh
4
build.sh
@@ -15,7 +15,9 @@ else
|
||||
fi
|
||||
|
||||
cd src
|
||||
go get -v
|
||||
go get -v -v
|
||||
|
||||
cat go.mod
|
||||
|
||||
if [ -x ~/go/bin/packr ]; then
|
||||
~/go/bin/packr
|
||||
|
||||
@@ -4,8 +4,8 @@ go 1.22.0
|
||||
|
||||
toolchain go1.23.3
|
||||
|
||||
replace github.com/securitybunker/databunker/src/storage => ./storage
|
||||
replace github.com/securitybunker/databunker/src/utils => ./utils
|
||||
// replace github.com/securitybunker/databunker/src/storage => ./storage
|
||||
// replace github.com/securitybunker/databunker/src/utils => ./utils
|
||||
|
||||
require (
|
||||
github.com/afocus/captcha v0.0.0-20191010092841-4bd1f21c8868
|
||||
@@ -17,8 +17,8 @@ require (
|
||||
github.com/oschwald/geoip2-golang v1.11.0
|
||||
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
|
||||
// github.com/securitybunker/databunker/src/storage v0.0.0
|
||||
// github.com/securitybunker/databunker/src/utils v0.0.0
|
||||
github.com/securitybunker/jsonschema v0.2.1-0.20201128224651-d77c1a3cb787
|
||||
github.com/tidwall/gjson v1.18.0
|
||||
go.mongodb.org/mongo-driver v1.17.1
|
||||
|
||||
Reference in New Issue
Block a user