From aa729397dfbad5a5d9f316e950f0cc878eb01acc Mon Sep 17 00:00:00 2001 From: dc-builder Date: Wed, 18 Aug 2021 08:59:38 +0000 Subject: [PATCH] Ironbank generated ldap image - DF build num: 23980, DF PR: --- Dockerfile | 25 +++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 4 +--- hardening_manifest.yaml | 33 +++++++++++++++++++++++++++++++++ requirements.txt | 2 ++ 5 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 Dockerfile create mode 100644 LICENSE create mode 100644 hardening_manifest.yaml create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2dde6cb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +ARG BASE_REGISTRY=registry1.dso.mil +ARG BASE_IMAGE=ironbank/opensource/palo-alto-networks/demisto/python3 +ARG BASE_TAG=3.9.6.22912 +FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} + +COPY requirements.txt . + +RUN mkdir ./pip-pkgs + +COPY *.* ./pip-pkgs/ + +USER root + +RUN dnf install -y --nodocs python3-devel gcc gcc-c++ make wget git && \ + pip install --no-cache-dir --no-index --find-links ./pip-pkgs/ -r requirements.txt && \ + dnf remove -y python3-devel gcc gcc-c++ make wget git platform-python-pip && \ + dnf clean all && \ + rm -rf /var/cache/dnf && \ + rm -rf ./pip-pkgs + +ENV DOCKER_IMAGE='demisto/ldap:1.0.0.23980' + +ENV DOCKER_IMAGE_IRONBANK='opensource/palo-alto-networks/demisto/ldap:1.0.0.23980' + +HEALTHCHECK NONE \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d9cada6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Demisto + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 5dc6fa6..ae20383 100644 --- a/README.md +++ b/README.md @@ -1,3 +1 @@ -# - -Project template for all Iron Bank container repositories. \ No newline at end of file +Palo Alto Networks - Demisto XSOAR - ldap image with the required dependencies diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000..1f2164c --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,33 @@ +apiVersion: v1 +name: opensource/palo-alto-networks/demisto/ldap +tags: +- 1.0.0.23980 +args: + BASE_IMAGE: opensource/palo-alto-networks/demisto/python3 + BASE_TAG: 3.9.6.22912 +labels: + org.opencontainers.image.title: Demisto Automation - ldap image + org.opencontainers.image.description: ldap image with the required dependencies + org.opencontainers.image.licenses: ' ' + org.opencontainers.image.url: ' ' + org.opencontainers.image.vendor: demisto + org.opencontainers.image.version: '1.0' + mil.dso.ironbank.image.keywords: ldap3, pyasn1 + mil.dso.ironbank.image.type: opensource + mil.dso.ironbank.product.name: panw-demisto-ldap +resources: +- filename: ldap3-2.9.1-py2.py3-none-any.whl + url: https://files.pythonhosted.org/packages/4e/f6/71d6ec9f18da0b2201287ce9db6afb1a1f637dedb3f0703409558981c723/ldap3-2.9.1-py2.py3-none-any.whl + validation: + type: sha256 + value: 5869596fc4948797020d3f03b7939da938778a0f9e2009f7a072ccf92b8e8d70 +- filename: pyasn1-0.4.8-py2.py3-none-any.whl + url: https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl + validation: + type: sha256 + value: 39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d +maintainers: +- email: containers@demisto.com + name: Palo Alto Networks + username: gfreund + cht_member: false diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a7998a2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +ldap3==2.9.1 +pyasn1==0.4.8 -- GitLab