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

[Feature:Autograding] Add Rust Dockerfile #46

Merged
merged 2 commits into from
Sep 8, 2024
Merged

[Feature:Autograding] Add Rust Dockerfile #46

merged 2 commits into from
Sep 8, 2024

Conversation

DarthNyan
Copy link
Contributor

Please check if the PR fulfills these requirements:

  • Tests for the changes have been added/updated (if possible)
  • Documentation has been updated/added if relevant

What is the current behavior?

What is the new behavior?

Creates a barebones Ubuntu image with the rust compiler (rustc) and package manager (cargo).

Other information?

Tested by creating a gradeable using this image and was able to compile and execute rust source in autograder.

dockerfiles/rust/1.75/Dockerfile Outdated Show resolved Hide resolved
@bmcutler bmcutler merged commit 7a8c58f into main Sep 8, 2024
3 checks passed
@bmcutler bmcutler deleted the add-rust branch September 8, 2024 22:12
bmcutler pushed a commit to Submitty/Submitty that referenced this pull request Nov 1, 2024
### Please check if the PR fulfills these requirements:

* [ ] Tests for the changes have been added/updated (if possible)
* [ ] Documentation has been updated/added if relevant
* [ ] Screenshots are attached to Github PR if visual/UI changes were
made

### What is the current behavior?
<!-- List issue if it fixes/closes/implements one using the "Fixes
#<number>" or "Closes #<number>" syntax -->
Fixes #10896. 
### What is the new behavior?
Simple gradeable config that compiles Rust "Hello World" and runs.
### Other information?
<!-- Is this a breaking change? -->
<!-- How did you test -->

Relies on Submitty/DockerImages#46. Make sure to have
"submitty/rust:latest" docker image installed on the default capability
before attempting to run locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants