-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade dependencies and docker OS and Go version #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -25,9 +25,9 @@ COPY --from=builder \ | |||||
| /opt/bisquitt/cmd/bisquitt-sub/bisquitt-sub \ | ||||||
| /usr/local/bin/ | ||||||
|
|
||||||
| RUN addgroup --system --gid 1883 bisquitt 2>/dev/null && \ | ||||||
| adduser --system --uid 1883 --disabled-password --no-create-home \ | ||||||
| --home /var/empty --shell /sbin/nologin --ingroup bisquitt bisquitt 2>/dev/null | ||||||
| RUN groupadd --system --gid 983 bisquitt && \ | ||||||
| useradd --system --uid 983 --no-create-home --home-dir /var/empty \ | ||||||
| --shell /sbin/nologin --gid bisquitt bisquitt | ||||||
|
|
||||||
| EXPOSE 1883:1883/udp | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Invalid EXPOSE syntax. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,15 +1,41 @@ | ||||||||
| module github.com/energostack/bisquitt | ||||||||
|
|
||||||||
| go 1.16 | ||||||||
| go 1.24.0 | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Set module Go version to 1.25 and pin the toolchain. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| require ( | ||||||||
| github.com/eclipse/paho.mqtt.golang v1.3.5 | ||||||||
| github.com/patrickmn/go-cache v2.1.0+incompatible // indirect | ||||||||
| github.com/pion/dtls/v2 v2.1.3 | ||||||||
| github.com/pion/udp v0.1.1 | ||||||||
| github.com/stretchr/testify v1.7.0 | ||||||||
| github.com/urfave/cli/v2 v2.4.0 | ||||||||
| golang.org/x/crypto v0.0.0-20220314234724-5d542ad81a58 // indirect | ||||||||
| golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||||||||
| gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b | ||||||||
| github.com/eclipse/paho.mqtt.golang v1.5.1 | ||||||||
| github.com/patrickmn/go-cache v2.1.0+incompatible | ||||||||
| github.com/pion/dtls/v2 v2.2.12 | ||||||||
| github.com/pion/udp v0.1.4 | ||||||||
| github.com/stretchr/testify v1.10.0 | ||||||||
| github.com/urfave/cli/v2 v2.27.7 | ||||||||
| golang.org/x/sync v0.17.0 | ||||||||
| gopkg.in/yaml.v3 v3.0.1 | ||||||||
| ) | ||||||||
|
|
||||||||
| require ( | ||||||||
| github.com/BurntSushi/toml v1.5.0 // indirect | ||||||||
| github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect | ||||||||
| github.com/davecgh/go-spew v1.1.1 // indirect | ||||||||
| github.com/google/go-cmp v0.6.0 // indirect | ||||||||
| github.com/gorilla/websocket v1.5.3 // indirect | ||||||||
| github.com/pion/logging v0.2.4 // indirect | ||||||||
| github.com/pion/transport v0.14.1 // indirect | ||||||||
| github.com/pion/transport/v2 v2.2.10 // indirect | ||||||||
| github.com/pmezard/go-difflib v1.0.0 // indirect | ||||||||
| github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||||||||
| github.com/stretchr/objx v0.5.2 // indirect | ||||||||
| github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect | ||||||||
| github.com/yuin/goldmark v1.4.13 // indirect | ||||||||
| golang.org/x/crypto v0.42.0 // indirect | ||||||||
| golang.org/x/mod v0.27.0 // indirect | ||||||||
| golang.org/x/net v0.44.0 // indirect | ||||||||
| golang.org/x/sys v0.36.0 // indirect | ||||||||
| golang.org/x/telemetry v0.0.0-20250807160809-1a19826ec488 // indirect | ||||||||
| golang.org/x/term v0.35.0 // indirect | ||||||||
| golang.org/x/text v0.29.0 // indirect | ||||||||
| golang.org/x/tools v0.36.0 // indirect | ||||||||
| golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect | ||||||||
| gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 // indirect | ||||||||
| gopkg.in/yaml.v2 v2.2.8 // indirect | ||||||||
| ) | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 0.8.1 | ||
| 0.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go version mismatch: builder 1.25.1 vs go.mod 1.24.0.
The image uses Go 1.25.1, but go.mod declares 1.24.0. Align to 1.25 and add a toolchain pin to meet the PR objective.
See go.mod comment for a concrete diff.
🤖 Prompt for AI Agents