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

Add pyzipper to py3-tools docker file #26504

Merged
merged 8 commits into from May 16, 2024
Merged

Add pyzipper to py3-tools docker file #26504

merged 8 commits into from May 16, 2024

Conversation

talzich
Copy link
Contributor

@talzich talzich commented May 12, 2024

Status

Ready/In Progress/In Hold (Reason for hold)

Related Content Pull Request

Related PR: https://jira-dc.paloaltonetworks.com/browse/CIAC-10361

Related Issues

Related: link to the issue

Description

Add pyzipper library to py3-tools due to an issue

@JudahSchwartz
Copy link
Collaborator

add import to verify.py

@xsoar-bot
Copy link

Docker Image Ready - Dev

Docker automatic build at CircleCI has deployed your docker image: devdemisto/py3-tools:1.0.0.94142
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/py3-tools/tags
Get started by pulling the image:

docker pull devdemisto/py3-tools:1.0.0.94142

Docker Metadata

  • Image Size: 48.98 MB
  • Image ID: sha256:e63860cfad7cf3ae77cde31d6aeaf81d9de910f6e7732cbe2677075294e8661f
  • Created: 2024-05-12T10:30:11.588202401Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • LANG=C.UTF-8
    • GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
    • PYTHON_VERSION=3.10.14
    • PYTHON_PIP_VERSION=23.0.1
    • PYTHON_SETUPTOOLS_VERSION=65.5.1
    • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
    • PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
    • DOCKER_IMAGE=devdemisto/py3-tools:1.0.0.94142
  • Labels:
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:a4c0eb0d0df43cff6c180b39a89026ee0a8560e3
    • org.opencontainers.image.version:1.0.0.94142

@xsoar-bot
Copy link

Docker Image Ready - Dev

Docker automatic build at CircleCI has deployed your docker image: devdemisto/py3-native:8.6.0.94144
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/py3-native/tags
Get started by pulling the image:

docker pull devdemisto/py3-native:8.6.0.94144

Docker Metadata

  • Image Size: 1273.18 MB
  • Image ID: sha256:65d73e48bab78cdd8783412e991cafedc01de4c937a294d485b36d1abc226eec
  • Created: 2024-05-12T13:12:50.172258639Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/home/python/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • container=oci
    • PYTHON_VERSION=3.10.8
    • LANG=C.UTF-8
    • DOCKER_IMAGE=devdemisto/py3-native:8.6.0.94144
    • NLTK_DATA=/etc/ml/nltk_data
  • Labels:
    • architecture:x86_64
    • build-date:2024-02-29T13:57:42
    • com.redhat.component:ubi9-container
    • com.redhat.license_terms:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
    • description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • distribution-scope:public
    • io.buildah.version:1.29.0
    • io.k8s.description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • io.k8s.display-name:Red Hat Universal Base Image 9
    • io.openshift.expose-services:
    • io.openshift.tags:base rhel9
    • maintainer:Red Hat, Inc.
    • name:ubi9
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:b16cc63d146773b6823de2670bf4b6439750b2e9
    • org.opencontainers.image.version:8.6.0.94144
    • release:1610
    • summary:Provides the latest release of Red Hat Universal Base Image 9.
    • url:https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.3-1610
    • vcs-ref:eb726081eeafc660c182aae53074ec6631cb473e
    • vcs-type:git
    • vendor:Red Hat, Inc.
    • version:9.3

Copy link
Collaborator

@JudahSchwartz JudahSchwartz left a comment

Choose a reason for hiding this comment

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

lets also ignore the old versions of the native image for the integration in content, then we can add the label

@@ -81,6 +81,7 @@ pychrome = "*"
openpyxl = "^3.1.2"
python-pptx = "^0.6.23"
ntlm-auth = "^1.5.0"
pyzipper = "*"
Copy link
Collaborator

Choose a reason for hiding this comment

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

move to py3-tools-ubi

@@ -13,3 +13,5 @@

import pdf2image
print(f'Using poppler version: {pdf2image.pdf2image._get_poppler_version("pdftocairo")}')

import pyzipper
Copy link
Collaborator

Choose a reason for hiding this comment

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

we dont need this since it imports py3tools ' verify py. lets remove

@JudahSchwartz JudahSchwartz added the native image approved related changes to the native docker were needed and occurred. label May 16, 2024
@xsoar-bot
Copy link

Docker Image Ready - Dev

Docker automatic build at CircleCI has deployed your docker image: devdemisto/py3-native:8.6.0.94211
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/py3-native/tags
Get started by pulling the image:

docker pull devdemisto/py3-native:8.6.0.94211

Docker Metadata

  • Image Size: 1277.16 MB
  • Image ID: sha256:6db1098edf4d9ada00b0ad116192d4c10a0021cf0a9f90772b103a823e53f5df
  • Created: 2024-05-16T13:16:42.708146793Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/home/python/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • container=oci
    • PYTHON_VERSION=3.10.8
    • LANG=C.UTF-8
    • DOCKER_IMAGE=devdemisto/py3-native:8.6.0.94211
    • NLTK_DATA=/etc/ml/nltk_data
  • Labels:
    • architecture:x86_64
    • build-date:2024-02-29T13:57:42
    • com.redhat.component:ubi9-container
    • com.redhat.license_terms:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
    • description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • distribution-scope:public
    • io.buildah.version:1.29.0
    • io.k8s.description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • io.k8s.display-name:Red Hat Universal Base Image 9
    • io.openshift.expose-services:
    • io.openshift.tags:base rhel9
    • maintainer:Red Hat, Inc.
    • name:ubi9
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:1f29060dfdd2b674d38f78c20fac55c192d18373
    • org.opencontainers.image.version:8.6.0.94211
    • release:1610
    • summary:Provides the latest release of Red Hat Universal Base Image 9.
    • url:https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.3-1610
    • vcs-ref:eb726081eeafc660c182aae53074ec6631cb473e
    • vcs-type:git
    • vendor:Red Hat, Inc.
    • version:9.3

@xsoar-bot
Copy link

Docker Image Ready - Dev

Docker automatic build at CircleCI has deployed your docker image: devdemisto/py3-tools:1.0.0.94213
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/py3-tools/tags
Get started by pulling the image:

docker pull devdemisto/py3-tools:1.0.0.94213

Docker Metadata

  • Image Size: 51.31 MB
  • Image ID: sha256:ab087c9eadd6ed91a284ae78019e1306b028b3e7ee967a627b8c9256f51eb939
  • Created: 2024-05-16T13:36:04.013540217Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • LANG=C.UTF-8
    • GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
    • PYTHON_VERSION=3.10.14
    • PYTHON_PIP_VERSION=23.0.1
    • PYTHON_SETUPTOOLS_VERSION=65.5.1
    • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
    • PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
    • DOCKER_IMAGE=devdemisto/py3-tools:1.0.0.94213
  • Labels:
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:c59e0440c8da00127485d7c0dece03f55f0d91d5
    • org.opencontainers.image.version:1.0.0.94213

@xsoar-bot
Copy link

Docker Image Ready - Dev

Docker automatic build at CircleCI has deployed your docker image: devdemisto/py3-tools-ubi:1.0.0.94213
It is available now on docker hub at: https://hub.docker.com/r/devdemisto/py3-tools-ubi/tags
Get started by pulling the image:

docker pull devdemisto/py3-tools-ubi:1.0.0.94213

Docker Metadata

  • Image Size: 145.56 MB
  • Image ID: sha256:31f1fafa2599e48ee0002924cbfbd1138a099bb884e224c0058d07825e40d640
  • Created: 2024-05-16T13:37:18.092538446Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/home/python/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • container=oci
    • PYTHON_VERSION=3.10.8
    • LANG=C.UTF-8
    • DOCKER_IMAGE=devdemisto/py3-tools-ubi:1.0.0.94213
  • Labels:
    • architecture:x86_64
    • build-date:2024-02-29T13:57:42
    • com.redhat.component:ubi9-container
    • com.redhat.license_terms:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
    • description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • distribution-scope:public
    • io.buildah.version:1.29.0
    • io.k8s.description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • io.k8s.display-name:Red Hat Universal Base Image 9
    • io.openshift.expose-services:
    • io.openshift.tags:base rhel9
    • maintainer:Red Hat, Inc.
    • name:ubi9
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:c59e0440c8da00127485d7c0dece03f55f0d91d5
    • org.opencontainers.image.version:1.0.0.94213
    • release:1610
    • summary:Provides the latest release of Red Hat Universal Base Image 9.
    • url:https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.3-1610
    • vcs-ref:eb726081eeafc660c182aae53074ec6631cb473e
    • vcs-type:git
    • vendor:Red Hat, Inc.
    • version:9.3

@talzich talzich merged commit 03298c5 into master May 16, 2024
5 of 6 checks passed
@talzich talzich deleted the py3tools-add-pyzipper branch May 16, 2024 13:44
@xsoar-bot
Copy link

Docker Image Ready - Production

Docker automatic build at CircleCI has deployed your docker image: demisto/py3-tools:1.0.0.94214
It is available now on docker hub at: https://hub.docker.com/r/demisto/py3-tools/tags
Get started by pulling the image:

docker pull demisto/py3-tools:1.0.0.94214

Docker Metadata

  • Image Size: 51.30 MB
  • Image ID: sha256:c4ee497b7207eb0d1f108476cc22e0e9f3324ebb59397a01a54e38a70ec6ab34
  • Created: 2024-05-16T13:46:18.116557148Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • LANG=C.UTF-8
    • GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
    • PYTHON_VERSION=3.10.14
    • PYTHON_PIP_VERSION=23.0.1
    • PYTHON_SETUPTOOLS_VERSION=65.5.1
    • PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
    • PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
    • DOCKER_IMAGE=demisto/py3-tools:1.0.0.94214
  • Labels:
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:03298c5a61f769f8e06516f74e29c6ed4d6d9cda
    • org.opencontainers.image.version:1.0.0.94214

@xsoar-bot
Copy link

Docker Image Ready - Production

Docker automatic build at CircleCI has deployed your docker image: demisto/py3-tools-ubi:1.0.0.94214
It is available now on docker hub at: https://hub.docker.com/r/demisto/py3-tools-ubi/tags
Get started by pulling the image:

docker pull demisto/py3-tools-ubi:1.0.0.94214

Docker Metadata

  • Image Size: 145.55 MB
  • Image ID: sha256:83969f1c6b19b409a5de9b0d3792ede5c991e05ba9f873d0ee759a0380b05e11
  • Created: 2024-05-16T13:47:34.672705078Z
  • Arch: linux/amd64
  • Command: ["python3"]
  • Environment:
    • PATH=/usr/local/bin:/home/python/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    • container=oci
    • PYTHON_VERSION=3.10.8
    • LANG=C.UTF-8
    • DOCKER_IMAGE=demisto/py3-tools-ubi:1.0.0.94214
  • Labels:
    • architecture:x86_64
    • build-date:2024-02-29T13:57:42
    • com.redhat.component:ubi9-container
    • com.redhat.license_terms:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
    • description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • distribution-scope:public
    • io.buildah.version:1.29.0
    • io.k8s.description:The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.
    • io.k8s.display-name:Red Hat Universal Base Image 9
    • io.openshift.expose-services:
    • io.openshift.tags:base rhel9
    • maintainer:Red Hat, Inc.
    • name:ubi9
    • org.opencontainers.image.authors:Demisto <containers@demisto.com>
    • org.opencontainers.image.revision:03298c5a61f769f8e06516f74e29c6ed4d6d9cda
    • org.opencontainers.image.version:1.0.0.94214
    • release:1610
    • summary:Provides the latest release of Red Hat Universal Base Image 9.
    • url:https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.3-1610
    • vcs-ref:eb726081eeafc660c182aae53074ec6631cb473e
    • vcs-type:git
    • vendor:Red Hat, Inc.
    • version:9.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native image approved related changes to the native docker were needed and occurred.
Projects
None yet
3 participants