forked from mcrute/ses-smtpd-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2eb3f6b
commit 4df191f
Showing
3 changed files
with
91 additions
and
686 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
FROM golang:1.18 as build | ||
FROM golang:1.22 as build | ||
|
||
WORKDIR /go/src/app | ||
COPY . /go/src/app | ||
|
||
# RUN go get -u && go mod tidy | ||
RUN CGO_ENABLED=0 go build -o /go/bin/app | ||
|
||
FROM gcr.io/distroless/static-debian11 | ||
FROM gcr.io/distroless/static-debian12 | ||
|
||
COPY --from=build /go/bin/app / | ||
CMD ["/app"] |
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 |
---|---|---|
@@ -1,64 +1,46 @@ | ||
module code.crute.us/mcrute/ses-smtpd-proxy | ||
|
||
go 1.18 | ||
go 1.21 | ||
|
||
toolchain go1.22.3 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go v1.44.154 | ||
github.com/hashicorp/vault/api v1.8.2 | ||
github.com/hashicorp/vault/api/auth/approle v0.3.0 | ||
github.com/prometheus/client_golang v1.14.0 | ||
github.com/aws/aws-sdk-go v1.53.14 | ||
github.com/hashicorp/vault/api v1.14.0 | ||
github.com/hashicorp/vault/api/auth/approle v0.7.0 | ||
github.com/prometheus/client_golang v1.19.1 | ||
) | ||
|
||
require ( | ||
github.com/armon/go-metrics v0.3.9 // indirect | ||
github.com/armon/go-radix v1.0.0 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cenkalti/backoff/v3 v3.0.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/fatih/color v1.7.0 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/cenkalti/backoff/v3 v3.2.2 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/fatih/color v1.17.0 // indirect | ||
github.com/go-jose/go-jose/v4 v4.0.2 // indirect | ||
github.com/go-test/deep v1.1.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-hclog v0.16.2 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-plugin v1.4.5 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.6.6 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect | ||
github.com/hashicorp/go-rootcerts v1.0.2 // indirect | ||
github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect | ||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect | ||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect | ||
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect | ||
github.com/hashicorp/go-sockaddr v1.0.2 // indirect | ||
github.com/hashicorp/go-uuid v1.0.2 // indirect | ||
github.com/hashicorp/go-version v1.2.0 // indirect | ||
github.com/hashicorp/golang-lru v0.5.4 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/hashicorp/vault/sdk v0.6.0 // indirect | ||
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect | ||
github.com/hashicorp/go-sockaddr v1.0.6 // indirect | ||
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/mattn/go-colorable v0.1.6 // indirect | ||
github.com/mattn/go-isatty v0.0.12 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/mitchellh/copystructure v1.0.0 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/go-testing-interface v1.0.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/mitchellh/reflectwalk v1.0.0 // indirect | ||
github.com/oklog/run v1.0.0 // indirect | ||
github.com/pierrec/lz4 v2.5.2+incompatible // indirect | ||
github.com/prometheus/client_model v0.3.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.53.0 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/ryanuber/go-glob v1.0.0 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect | ||
golang.org/x/net v0.1.0 // indirect | ||
golang.org/x/sys v0.1.0 // indirect | ||
golang.org/x/text v0.4.0 // indirect | ||
golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 // indirect | ||
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 // indirect | ||
google.golang.org/grpc v1.41.0 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
gopkg.in/square/go-jose.v2 v2.5.1 // indirect | ||
github.com/stretchr/testify v1.9.0 // indirect | ||
golang.org/x/crypto v0.23.0 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/text v0.15.0 // indirect | ||
golang.org/x/time v0.5.0 // indirect | ||
google.golang.org/protobuf v1.34.1 // indirect | ||
) |
Oops, something went wrong.