Skip to content
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

Trippy fails to start on Docker with Crossterm 0.25.0 #277

Closed
fujiapple852 opened this issue Aug 19, 2022 · 6 comments · Fixed by #278 or #397
Closed

Trippy fails to start on Docker with Crossterm 0.25.0 #277

fujiapple852 opened this issue Aug 19, 2022 · 6 comments · Fixed by #278 or #397
Labels
bug Something isn't working docker
Milestone

Comments

@fujiapple852
Copy link
Owner

fujiapple852 commented Aug 19, 2022

Starting Trippy on macOS or Linux with:

docker run -it fujiapple/trippy:0.6.0-dev google.com

Fail (not every time) with error:

Error: No such file or directory (os error 2)
@fujiapple852 fujiapple852 added the bug Something isn't working label Aug 19, 2022
@fujiapple852 fujiapple852 added this to the 0.6.0 milestone Aug 19, 2022
@fujiapple852 fujiapple852 self-assigned this Aug 19, 2022
@fujiapple852
Copy link
Owner Author

The issue does not occur with 0.5.0

@fujiapple852
Copy link
Owner Author

The issue does not occur when starting without the TUI

@fujiapple852
Copy link
Owner Author

Reverting to crossterm version 0.23.2 (and tui-rs to 0.18.0) resolves the issue

@fujiapple852 fujiapple852 reopened this Jan 9, 2023
@fujiapple852 fujiapple852 changed the title Trippy 0.6.0-dev fails to start on Docker (Linux and macOS) Trippy fails to start on Docker (Linux and macOS) Jan 9, 2023
@fujiapple852 fujiapple852 changed the title Trippy fails to start on Docker (Linux and macOS) Trippy fails to start on Docker with Crossterm 0.25.0 Jan 9, 2023
@fujiapple852
Copy link
Owner Author

Does not occur when using ubuntu image instead of gcr.io/distroless/cc

@fujiapple852 fujiapple852 modified the milestones: 0.6.0, 0.7.0 Jan 9, 2023
@fujiapple852
Copy link
Owner Author

Bug reported in crossterm: crossterm-rs/crossterm#741

@fujiapple852
Copy link
Owner Author

Work around by switching from Google gcr.io/distroless/cc image to alpine (and building with musl) and installing ncurses to ensure tput is available to crossterm to prevent it from failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker
Projects
None yet
1 participant