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

[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 #104

Merged
merged 6 commits into from
Sep 11, 2023

Conversation

williamjallen
Copy link
Member

@williamjallen williamjallen commented Sep 9, 2023

What is the current behavior?

Our Docker image is currently based on Ubuntu 20.04. This is problematic because the main Lichen binary is compiled on the host machine and copied into the Lichen container at runtime, which requires both operating systems to be compatible. Eventually, we should do all of the compilation at image build time instead...

What is the new behavior?

The base Docker image has been bumped to Ubuntu 22.04. Due to a handful of version incompatibilities and other miscellaneous Lichen bugs, I also bumped clang to version 14 (the C++ tokenizer was broken), bumped python to 3.9, and fixed a regression introduced in Submitty/Submitty#9630.

Further Python version increases will break the Java tokenizer. I will make a separate PR to migrate away from javac-parser, which hasn't been updated in 5 years now, and seems to be a dead project.

@williamjallen williamjallen marked this pull request as draft September 9, 2023 14:17
@williamjallen williamjallen changed the title Bump base Docker image to Ubuntu 22.04 [Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 Sep 10, 2023
@williamjallen williamjallen marked this pull request as ready for review September 10, 2023 22:49
@bmcutler bmcutler merged commit 9928151 into main Sep 11, 2023
7 checks passed
@bmcutler bmcutler deleted the ubuntu-22.04 branch September 11, 2023 01:39
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.

2 participants