-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: New docker strategy for multiple pyver
Ort docker is now splitted in two - ort-base docker which contains all dependencies, package managers, based on latest Ubuntu LTS ( Focal ) - ort, which will use ort-base, but will only compile/use ort Current status: - Python3.6, 3.7, 3.8 and 3.9 are built and usable as shared To change it just add PYTHON_VERSION=3.x in docker run env. Default now is Python 3.6 - Python dependencies are installed for each python build - All other dep managers are installed in separated steps, ti easily manage docker build cache - No more twice docker java images, all java operations will use Ubuntu's openjdk 11 - Create a simple bash_includes mechanism to allow proper tool configs - ENV versions are now grouped per tool, not all in the top file header Although is easy to control the change, to build the docker means change a single version there will force to recompile entire rules below, basically killing docker cache and making all docker image build process painful TODO: - Analyze size and probable reduction - Create a simple run examnple DRAWBACKS: As multiple python versions are required, no simple way to get a distribution package for each one, so python is effectively compiled from source using the same base as official python docker, and installed in separate version dirs under /opt/python. The switch is done in a combination of update-alternatives and bash init script Signed-off-by: Helio Chissini de Castro <helio@kde.org>
- Loading branch information
1 parent
40a725f
commit e34655d
Showing
5 changed files
with
438 additions
and
124 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.