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

control-service: support for pyodbc #2524

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

mivanov1988
Copy link
Contributor

Why
Currently, the base secure image does not contain the required libraries for pyodbc Python package.

What
Installed required native dependencies.

Testing Done
Locally through 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.8-secure:latest --build-arg job_name="data_job_name" --progress=plain

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

Why
Currently, the base secure image does not contain required libraries for
pyodbc package.

What
Installed required native dependencies.

Testing Done
Locally through 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.8-secure:latest --build-arg job_name="data_job_name" --progress=plain
```

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the normal image contains unixodbc?

@mivanov1988 mivanov1988 merged commit f2ae2b4 into main Aug 7, 2023
12 checks passed
@mivanov1988 mivanov1988 deleted the person/miroslavi/support-for-pyodbc branch August 7, 2023 15:15
@mivanov1988
Copy link
Contributor Author

Does the normal image contains unixodbc?

I think It does not.

@antoniivanov
Copy link
Collaborator

Does the normal image contains unixodbc?

I think It does not.

Then do we need that change there?

Also how does it work? In Super Collider if I am not mistake the normal image is still used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants