control-service: add missing packages to secure job builder#2662
Merged
mivanov1988 merged 1 commit intomainfrom Sep 14, 2023
Merged
Conversation
Why Data job deployment failed during the `matplotlib` package installation. ``` 8 60.08 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/tmp/pip-install-atzjoqx1/matplotlib_1e02350272024504a89afb59eea4cc59/.eggs/numpy-1.25.2-py3.9-linux-x86_64.egg/numpy/core/include -I/usr/local/include/python3.9 -c src/checkdep_freetype2.c -o build/temp.linux-x86_64-cpython-39/src/checkdep_freetype2.o ``` What Added missing linux packages `freetype2-devel` and `libpng-devel`. Testing Done: Locally via the following command: ``` docker buildx build -f versatile-data-kit/projects/control-service/projects/job-builder-secure/Dockerfile.python.vdk -t test-image-tag . --build-arg job_githash=localhsh1 --build-arg base_image=registry.hub.docker.com/versatiledatakit/data-job-base-python-3.9-secure:latest --build-arg job_name="example8" --progress=plain ```
doks5
approved these changes
Sep 14, 2023
mrMoZ1
approved these changes
Sep 14, 2023
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.
Why
Data job deployment failed during the
matplotlibpackage installation.What
Added missing linux packages
freetype2-develandlibpng-devel.Testing Done:
Locally via the following command: