Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions build/Dockerfile-diaSatusdPlusOracleService
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM us.icr.io/dia-registry/devops/build-122:latest as build

WORKDIR $GOPATH

WORKDIR $GOPATH/src/
COPY ./cmd/blockchain/ethereum/diaSatusdPlusOracleService ./

RUN go mod download github.com/diadata-org/diadata

RUN go install

FROM gcr.io/distroless/base

COPY --from=build /go/bin/diaSatusdPlusOracleService /bin/diaSatusdPlusOracleService
COPY --from=build /config/ /config/

CMD ["diaSatusdPlusOracleService"]
52 changes: 52 additions & 0 deletions cmd/blockchain/ethereum/diaSatusdPlusOracleService/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
module github.com/diadata-org/diadata/blockchain/diaSatusdPlusOracleService

go 1.22

require (
github.com/diadata-org/diadata v1.4.650
github.com/ethereum/go-ethereum v1.10.26
github.com/machinebox/graphql v0.2.2
github.com/tidwall/gjson v1.17.0
)

require (
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/btcsuite/btcd v0.22.0-beta // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-redis/redis v6.15.9+incompatible // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.8.1 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.0.6 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.7.0 // indirect
github.com/jackc/pgx/v4 v4.11.0 // indirect
github.com/jackc/puddle v1.1.3 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rjeczalik/notify v0.9.1 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tkanos/gonfig v0.0.0-20181112185242-896f3d81fadf // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/zekroTJA/timedmap v1.4.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
Loading
Loading