-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from dongxuny/dongxuny
Add gwPort as boot fields
- Loading branch information
Showing
6 changed files
with
1,238 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM golang:latest AS builder | ||
WORKDIR /build/rk | ||
COPY . /build/rk | ||
|
||
RUN go env -w CGO_ENABLED="0" && go build main.go | ||
|
||
FROM alpine | ||
|
||
ENV WD=/usr/src/rk | ||
WORKDIR $WD | ||
|
||
COPY --from=builder /build/rk/main $WD/main | ||
COPY --from=builder /build/rk/boot.yaml $WD/boot.yaml | ||
COPY --from=builder /build/rk/api $WD/api | ||
|
||
CMD $WD/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
module github.com/rookie-ninja/greeter | ||
|
||
go 1.19 | ||
|
||
replace github.com/rookie-ninja/rk-grpc/v2 => ../../../ | ||
|
||
require ( | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 | ||
github.com/rookie-ninja/rk-entry/v2 v2.2.18 | ||
github.com/rookie-ninja/rk-grpc/v2 v2.2.18 | ||
google.golang.org/grpc v1.58.2 | ||
google.golang.org/protobuf v1.31.0 | ||
) | ||
|
||
require ( | ||
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cenkalti/backoff/v4 v4.1.3 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect | ||
github.com/fsnotify/fsnotify v1.5.4 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/improbable-eng/grpc-web v0.15.0 // indirect | ||
github.com/klauspost/compress v1.13.6 // indirect | ||
github.com/magiconair/properties v1.8.6 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/openzipkin/zipkin-go v0.4.0 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.1 // indirect | ||
github.com/prometheus/client_golang v1.13.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/rookie-ninja/rk-logger v1.2.13 // indirect | ||
github.com/rookie-ninja/rk-query v1.2.14 // indirect | ||
github.com/rs/cors v1.7.0 // indirect | ||
github.com/soheilhy/cmux v0.1.5 // indirect | ||
github.com/spf13/afero v1.8.2 // indirect | ||
github.com/spf13/cast v1.5.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/spf13/viper v1.12.0 // indirect | ||
github.com/subosito/gotenv v1.3.0 // indirect | ||
go.opentelemetry.io/contrib v1.8.0 // indirect | ||
go.opentelemetry.io/otel v1.10.0 // indirect | ||
go.opentelemetry.io/otel/exporters/jaeger v1.8.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.10.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.10.0 // indirect | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.8.0 // indirect | ||
go.opentelemetry.io/otel/exporters/zipkin v1.10.0 // indirect | ||
go.opentelemetry.io/otel/sdk v1.10.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.10.0 // indirect | ||
go.opentelemetry.io/proto/otlp v0.19.0 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/ratelimit v0.2.0 // indirect | ||
go.uber.org/zap v1.21.0 // indirect | ||
golang.org/x/net v0.15.0 // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect | ||
gopkg.in/ini.v1 v1.66.6 // indirect | ||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
nhooyr.io/websocket v1.8.6 // indirect | ||
) |
Oops, something went wrong.