Update to Ubuntu bionic - #4
Merged
Merged
Conversation
Installing the pdf package via pip currently fails with the error: ``` Could not find a version that satisfies the requirement pdf (from versions: ) No matching distribution found for pdf ``` PyPDF2 [1] has a similar set of functionality and installs cleanly. [1] https://pythonhosted.org/PyPDF2/
Also: assorted improvements to reduce images size. Previously, the image was 1.15GB in size. Combining the layers, cleaning up after each layer (to avoid results that are later cleaned up being written into the intermediate images), removing the pip cache and avoiding to install recommended packages brings down the size by about 30% to 827MB.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note that this pull request depends on #2 and #3 and so should be reviewed/merged after them.
This pull request updates the image to the latest Ubuntu version (bionic). This enables us to get rid of the custom PPA for Python 3.6 since that is now the default version.
The pull request also introduces assorted improvements to reduce images size. Previously, the image was 1.15GB in size. Combining the layers, cleaning up after each layer (to avoid results that are later cleaned up being written into the intermediate images), removing the pip cache and avoiding to install recommended packages brings down the size by about 30% to 827MB. The smaller image size is notable when running the autograder on a service like Azure Container Instances or AWS Fargate.