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

ch6: particles: working Dockerfile to see graphical output #96

Open
wants to merge 1 commit into
base: 1st-edition
Choose a base branch
from

Conversation

ewenmcneill
Copy link

Update Dockerfile:

a. to Rust 1.66 (current stable release)
b. to fix Cargo.lock cleanup ([[ ]] is bash built in only, not available)
c. install necessary X11 dependencies to actually run
d. fix the CMD to refer to the actual built filename (and path)

And also provide examples of how to build and run it, so that, at least from an Ubuntu 20.04 LTS host, it is actually possible to see the graphical output.

X11 library dependencies determined interactively, from an Ubuntu 20.04 LTS host; may not be the optional set, particularly with newer host distros moving increasingly to Wayland only.

Update Dockerfile:
(a) to Rust 1.66 (current stable release)
(b) to fix Cargo.lock cleanup ([[ ]] is bash built in only, not available)
(c) install necessary X11 dependencies to actually run
(d) fix the CMD to refer to the actual built filename (and path)

And also provide examples of how to build and run it, so that, at
least from an Ubuntu 20.04 LTS host, it is actually possible to see
the graphical output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant