From 92c4301b1b27136472aabbae17b0ada6ba6a17ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Mon, 19 Feb 2024 10:48:52 +0100 Subject: [PATCH] [bitnami/kapacitor bitnami/percona-xtrabackup] Add deprecation for those assets (#62072) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carlos Rodríguez Hernández --- .vib/kapacitor/goss/goss.yaml | 13 -- .vib/kapacitor/goss/vars.yaml | 11 -- .vib/kapacitor/vib-verify.json | 72 ----------- .vib/percona-xtrabackup/goss/goss.yaml | 11 -- .vib/percona-xtrabackup/goss/vars.yaml | 9 -- .vib/percona-xtrabackup/vib-verify.json | 73 ----------- bitnami/kapacitor/1/debian-11/Dockerfile | 57 --------- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/licenses/licenses.txt | 2 - .../prebuildfs/usr/sbin/install_packages | 27 ----- .../debian-11/prebuildfs/usr/sbin/run-script | 24 ---- bitnami/kapacitor/1/debian-11/tags-info.yaml | 5 - bitnami/kapacitor/README.md | 114 ------------------ .../2.4/debian-11/Dockerfile | 51 -------- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/licenses/licenses.txt | 2 - .../prebuildfs/usr/sbin/install_packages | 27 ----- .../debian-11/prebuildfs/usr/sbin/run-script | 24 ---- .../2.4/debian-11/tags-info.yaml | 4 - .../8.0/debian-11/Dockerfile | 51 -------- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/licenses/licenses.txt | 2 - .../prebuildfs/usr/sbin/install_packages | 27 ----- .../debian-11/prebuildfs/usr/sbin/run-script | 24 ---- .../8.0/debian-11/tags-info.yaml | 4 - .../8.1/debian-11/Dockerfile | 51 -------- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/licenses/licenses.txt | 2 - .../prebuildfs/usr/sbin/install_packages | 27 ----- .../debian-11/prebuildfs/usr/sbin/run-script | 24 ---- .../8.1/debian-11/tags-info.yaml | 4 - .../8.2/debian-11/Dockerfile | 51 -------- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/licenses/licenses.txt | 2 - .../prebuildfs/usr/sbin/install_packages | 27 ----- .../debian-11/prebuildfs/usr/sbin/run-script | 24 ---- .../8.2/debian-11/tags-info.yaml | 5 - bitnami/percona-xtrabackup/README.md | 97 --------------- 38 files changed, 988 deletions(-) delete mode 100644 .vib/kapacitor/goss/goss.yaml delete mode 100644 .vib/kapacitor/goss/vars.yaml delete mode 100644 .vib/kapacitor/vib-verify.json delete mode 100644 .vib/percona-xtrabackup/goss/goss.yaml delete mode 100644 .vib/percona-xtrabackup/goss/vars.yaml delete mode 100644 .vib/percona-xtrabackup/vib-verify.json delete mode 100644 bitnami/kapacitor/1/debian-11/Dockerfile delete mode 100644 bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100755 bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/run-script delete mode 100644 bitnami/kapacitor/1/debian-11/tags-info.yaml delete mode 100644 bitnami/kapacitor/README.md delete mode 100644 bitnami/percona-xtrabackup/2.4/debian-11/Dockerfile delete mode 100644 bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100755 bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/run-script delete mode 100644 bitnami/percona-xtrabackup/2.4/debian-11/tags-info.yaml delete mode 100644 bitnami/percona-xtrabackup/8.0/debian-11/Dockerfile delete mode 100644 bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100755 bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/run-script delete mode 100644 bitnami/percona-xtrabackup/8.0/debian-11/tags-info.yaml delete mode 100644 bitnami/percona-xtrabackup/8.1/debian-11/Dockerfile delete mode 100644 bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100755 bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/run-script delete mode 100644 bitnami/percona-xtrabackup/8.1/debian-11/tags-info.yaml delete mode 100644 bitnami/percona-xtrabackup/8.2/debian-11/Dockerfile delete mode 100644 bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json delete mode 100644 bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt delete mode 100755 bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/install_packages delete mode 100755 bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/run-script delete mode 100644 bitnami/percona-xtrabackup/8.2/debian-11/tags-info.yaml delete mode 100644 bitnami/percona-xtrabackup/README.md diff --git a/.vib/kapacitor/goss/goss.yaml b/.vib/kapacitor/goss/goss.yaml deleted file mode 100644 index 50d76303ddd5..000000000000 --- a/.vib/kapacitor/goss/goss.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -gossfile: - # Load scripts from .vib/common/goss/templates - ../../common/goss/templates/check-app-version.yaml: {} - ../../common/goss/templates/check-binaries.yaml: {} - ../../common/goss/templates/check-broken-symlinks.yaml: {} - ../../common/goss/templates/check-ca-certs.yaml: {} - ../../common/goss/templates/check-directories.yaml: {} - ../../common/goss/templates/check-linked-libraries.yaml: {} - ../../common/goss/templates/check-sed-in-place.yaml: {} - ../../common/goss/templates/check-spdx.yaml: {} diff --git a/.vib/kapacitor/goss/vars.yaml b/.vib/kapacitor/goss/vars.yaml deleted file mode 100644 index ff8e474956e0..000000000000 --- a/.vib/kapacitor/goss/vars.yaml +++ /dev/null @@ -1,11 +0,0 @@ -binaries: - - kapacitor - - kapacitord - - tickfmt -directories: - - paths: - - /opt/bitnami/kapacitor/bin -root_dir: /opt/bitnami -version: - bin_name: kapacitor - flag: version diff --git a/.vib/kapacitor/vib-verify.json b/.vib/kapacitor/vib-verify.json deleted file mode 100644 index 989e5e667819..000000000000 --- a/.vib/kapacitor/vib-verify.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "context": { - "resources": { - "url": "{SHA_ARCHIVE}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "trivy", - "params": { - "threshold": "LOW", - "vuln_type": [ - "OS" - ] - } - }, - { - "action_id": "grype", - "params": { - "threshold": "CRITICAL", - "package_type": [ - "OS" - ] - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "kapacitor/goss/goss.yaml", - "vars_file": "kapacitor/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-kapacitor" - } - } - } - } - ] - } - } -} diff --git a/.vib/percona-xtrabackup/goss/goss.yaml b/.vib/percona-xtrabackup/goss/goss.yaml deleted file mode 100644 index 6bc4da17d8ca..000000000000 --- a/.vib/percona-xtrabackup/goss/goss.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -gossfile: - # Load scripts from .vib/common/goss/templates - ../../common/goss/templates/check-app-version.yaml: {} - ../../common/goss/templates/check-binaries.yaml: {} - ../../common/goss/templates/check-broken-symlinks.yaml: {} - ../../common/goss/templates/check-linked-libraries.yaml: {} - ../../common/goss/templates/check-sed-in-place.yaml: {} - ../../common/goss/templates/check-spdx.yaml: {} diff --git a/.vib/percona-xtrabackup/goss/vars.yaml b/.vib/percona-xtrabackup/goss/vars.yaml deleted file mode 100644 index a88a0d618562..000000000000 --- a/.vib/percona-xtrabackup/goss/vars.yaml +++ /dev/null @@ -1,9 +0,0 @@ -binaries: - - xtrabackup -root_dir: /opt/bitnami -sed_in_place: - exclude_paths: - - /opt/bitnami/mysql/xtrabackup-test/t -version: - bin_name: xtrabackup - flag: --version diff --git a/.vib/percona-xtrabackup/vib-verify.json b/.vib/percona-xtrabackup/vib-verify.json deleted file mode 100644 index 4f758564ca41..000000000000 --- a/.vib/percona-xtrabackup/vib-verify.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "context": { - "resources": { - "url": "{SHA_ARCHIVE}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "trivy", - "params": { - "threshold": "LOW", - "vuln_type": [ - "OS" - ] - } - }, - { - "action_id": "grype", - "params": { - "threshold": "CRITICAL", - "package_type": [ - "OS" - ] - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "percona-xtrabackup/goss/goss.yaml", - "vars_file": "percona-xtrabackup/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-percona-xtrabackup" - } - } - } - } - ] - } - } -} diff --git a/bitnami/kapacitor/1/debian-11/Dockerfile b/bitnami/kapacitor/1/debian-11/Dockerfile deleted file mode 100644 index 513f9671337b..000000000000 --- a/bitnami/kapacitor/1/debian-11/Dockerfile +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-02-16T16:46:00Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.7.1-debian-11-r29" \ - org.opencontainers.image.title="kapacitor" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="1.7.1" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl procps -RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ - COMPONENTS=( \ - "kapacitor-1.7.1-7-linux-${OS_ARCH}-debian-11" \ - ) ; \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi ; \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN mkdir -p /bitnami/kapacitor && chmod g+rwX /bitnami/kapacitor -RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true - -ENV APP_VERSION="1.7.1" \ - BITNAMI_APP_NAME="kapacitor" \ - KAPACITOR_DATA_DIR="/bitnami/kapacitor" \ - KAPACITOR_LOAD_DIR="/bitnami/kapacitor/load" \ - KAPACITOR_REPLAY_DIR="/bitnami/kapacitor/replay" \ - KAPACITOR_STORAGE_BOLTDB="/bitnami/kapacitor/kapacitor.db" \ - KAPACITOR_TASK_DIR="/bitnami/kapacitor/tasks" \ - PATH="/opt/bitnami/kapacitor/bin:$PATH" - -USER 1001 -CMD [ "kapacitord" ] diff --git a/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index b69336c5c01b..000000000000 --- a/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "kapacitor": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "1.7.1-7" - } -} \ No newline at end of file diff --git a/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 76956b38e82c..000000000000 --- a/bitnami/kapacitor/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,2 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses under: -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index acbc3173208c..000000000000 --- a/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/run-script deleted file mode 100755 index 4ca0f897277e..000000000000 --- a/bitnami/kapacitor/1/debian-11/prebuildfs/usr/sbin/run-script +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -u - -if [ $# -eq 0 ]; then - >&2 echo "No arguments provided" - exit 1 -fi - -script=$1 -exit_code="${2:-96}" -fail_if_not_present="${3:-n}" - -if test -f "$script"; then - sh $script - - if [ $? -ne 0 ]; then - exit $((exit_code)) - fi -elif [ "$fail_if_not_present" = "y" ]; then - >&2 echo "script not found: $script" - exit 127 -fi diff --git a/bitnami/kapacitor/1/debian-11/tags-info.yaml b/bitnami/kapacitor/1/debian-11/tags-info.yaml deleted file mode 100644 index 019dfa293b1a..000000000000 --- a/bitnami/kapacitor/1/debian-11/tags-info.yaml +++ /dev/null @@ -1,5 +0,0 @@ -rolling-tags: -- "1" -- 1-debian-11 -- 1.7.1 -- latest diff --git a/bitnami/kapacitor/README.md b/bitnami/kapacitor/README.md deleted file mode 100644 index d039acf95ab5..000000000000 --- a/bitnami/kapacitor/README.md +++ /dev/null @@ -1,114 +0,0 @@ -# Bitnami package for Kapacitor ™ - -## What is Kapacitor ™? - -> Kapacitor is a native data processing engine for InfluxDB designed to process data streams in real-time. Its plugin architecture enables easy integration with anomaly detection engines. - -[Overview of Kapacitor ™](https://github.com/influxdata/kapacitor) - -## TL;DR - -```console -docker run --name kapacitor bitnami/kapacitor:latest -``` - -## Why use Bitnami Images? - -* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. -* With Bitnami images the latest bug fixes and features are available as soon as possible. -* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs. -* All our images are based on [**minideb**](https://github.com/bitnami/minideb) -a minimalist Debian based container image that gives you a small base container image and the familiarity of a leading Linux distribution- or **scratch** -an explicitly empty image-. -* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. -* Bitnami container images are released on a regular basis with the latest distribution packages available. - -Looking to use Kapacitor ™ in production? Try [VMware Tanzu Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog. - -## Supported tags and respective `Dockerfile` links - -Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). - -You can see the equivalence between the different tags by taking a look at the `tags-info.yaml` file present in the branch folder, i.e `bitnami/ASSET/BRANCH/DISTRO/tags-info.yaml`. - -Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). - -## Get this image - -The recommended way to get the Bitnami kapacitor Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/kapacitor). - -```console -docker pull bitnami/kapacitor:latest -``` - -To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/kapacitor/tags/) in the Docker Hub Registry. - -```console -docker pull bitnami/kapacitor:[TAG] -``` - -If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the `docker build` command. Remember to replace the `APP`, `VERSION` and `OPERATING-SYSTEM` path placeholders in the example command below with the correct values. - -```console -git clone https://github.com/bitnami/containers.git -cd bitnami/APP/VERSION/OPERATING-SYSTEM -docker build -t bitnami/APP:latest . -``` - -## Persisting your application - -If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed. - -For persistence you should mount a directory at the `/bitnami/kapacitor` path. If the mounted directory is empty, it will be initialized on the first run. - -```console -docker run \ - -v /path/to/kapacitor-persistence:/bitnami/kapacitor \ - bitnami/kapacitor:latest -``` - -## Configuration - -### Running commands - -The container has the `kapacitor`, `kapacitord` and `tickfmt` commands available. To run commands inside this container you can use `docker run`, for example to execute `kapacitord --help` you can follow the example below: - -```console -docker run --rm --name kapacitor bitnami/kapacitor:latest -- kapacitord --help -``` - -Check the [official Kapacitor documentation](https://docs.influxdata.com/kapacitor) for a list of the available parameters. - -## Notable Changes - -### Starting January 16, 2024 - -* The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes. - -## Contributing - -We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues/new) or submitting a [pull request](https://github.com/bitnami/containers/pulls/) with your contribution. - -## Issues - -If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new/choose). For us to provide better support, be sure to include the following information in your issue: - -* Host OS and version -* Docker version (`docker version`) -* Output of `docker info` -* Version of this container -* The command you used to run the container, and any relevant output you saw (masking any sensitive information) - -## License - -Copyright © 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/Dockerfile b/bitnami/percona-xtrabackup/2.4/debian-11/Dockerfile deleted file mode 100644 index 4d6a3fbae2e3..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-02-16T19:58:03Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.4.29-debian-11-r20" \ - org.opencontainers.image.title="percona-xtrabackup" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="2.4.29" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl libaio1 libbrotli1 libcom-err2 libcrypt1 libcurl4 libev4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle8 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libstdc++6 libtasn1-6 libunistring2 procps rsync zlib1g -RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ - COMPONENTS=( \ - "percona-xtrabackup-2.4.29-1-linux-${OS_ARCH}-debian-11" \ - ) ; \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi ; \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y ca-certificates curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true - -ENV APP_VERSION="2.4.29" \ - BITNAMI_APP_NAME="percona-xtrabackup" \ - PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:$PATH" - -USER 1001 -ENTRYPOINT [ "xtrabackup" ] diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 46695d55c437..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "percona-xtrabackup": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "2.4.29-1" - } -} \ No newline at end of file diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 76956b38e82c..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,2 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses under: -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index acbc3173208c..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/run-script deleted file mode 100755 index 4ca0f897277e..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/prebuildfs/usr/sbin/run-script +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -u - -if [ $# -eq 0 ]; then - >&2 echo "No arguments provided" - exit 1 -fi - -script=$1 -exit_code="${2:-96}" -fail_if_not_present="${3:-n}" - -if test -f "$script"; then - sh $script - - if [ $? -ne 0 ]; then - exit $((exit_code)) - fi -elif [ "$fail_if_not_present" = "y" ]; then - >&2 echo "script not found: $script" - exit 127 -fi diff --git a/bitnami/percona-xtrabackup/2.4/debian-11/tags-info.yaml b/bitnami/percona-xtrabackup/2.4/debian-11/tags-info.yaml deleted file mode 100644 index 528b3560185c..000000000000 --- a/bitnami/percona-xtrabackup/2.4/debian-11/tags-info.yaml +++ /dev/null @@ -1,4 +0,0 @@ -rolling-tags: -- "2.4" -- 2.4-debian-11 -- 2.4.29 diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/Dockerfile b/bitnami/percona-xtrabackup/8.0/debian-11/Dockerfile deleted file mode 100644 index 0d1909bda50e..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-02-16T15:04:51Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.0.35-30-debian-11-r23" \ - org.opencontainers.image.title="percona-xtrabackup" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="8.0.35-30" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl libaio1 libbrotli1 libcom-err2 libcurl4 libev4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblz4-1 liblzma5 libnettle8 libnghttp2-14 libp11-kit0 libprocps8 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libunistring2 libzstd1 procps rsync zlib1g -RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ - COMPONENTS=( \ - "percona-xtrabackup-8.0.35-30-2-linux-${OS_ARCH}-debian-11" \ - ) ; \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi ; \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y ca-certificates curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true - -ENV APP_VERSION="8.0.35-30" \ - BITNAMI_APP_NAME="percona-xtrabackup" \ - PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:$PATH" - -USER 1001 -ENTRYPOINT [ "xtrabackup" ] diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 474e651c9c9e..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "percona-xtrabackup": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "8.0.35-30-2" - } -} \ No newline at end of file diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 76956b38e82c..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,2 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses under: -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index acbc3173208c..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/run-script deleted file mode 100755 index 4ca0f897277e..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/prebuildfs/usr/sbin/run-script +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -u - -if [ $# -eq 0 ]; then - >&2 echo "No arguments provided" - exit 1 -fi - -script=$1 -exit_code="${2:-96}" -fail_if_not_present="${3:-n}" - -if test -f "$script"; then - sh $script - - if [ $? -ne 0 ]; then - exit $((exit_code)) - fi -elif [ "$fail_if_not_present" = "y" ]; then - >&2 echo "script not found: $script" - exit 127 -fi diff --git a/bitnami/percona-xtrabackup/8.0/debian-11/tags-info.yaml b/bitnami/percona-xtrabackup/8.0/debian-11/tags-info.yaml deleted file mode 100644 index f644c692c933..000000000000 --- a/bitnami/percona-xtrabackup/8.0/debian-11/tags-info.yaml +++ /dev/null @@ -1,4 +0,0 @@ -rolling-tags: -- "8.0" -- 8.0-debian-11 -- 8.0.35-30 diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/Dockerfile b/bitnami/percona-xtrabackup/8.1/debian-11/Dockerfile deleted file mode 100644 index 304409e0263b..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-02-16T15:05:32Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.1.0-1-debian-11-r22" \ - org.opencontainers.image.title="percona-xtrabackup" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="8.1.0-1" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl libaio1 libbrotli1 libcom-err2 libcurl4 libev4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblz4-1 liblzma5 libnettle8 libnghttp2-14 libp11-kit0 libprocps8 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libunistring2 libzstd1 procps rsync zlib1g -RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ - COMPONENTS=( \ - "percona-xtrabackup-8.1.0-1-1-linux-${OS_ARCH}-debian-11" \ - ) ; \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi ; \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y ca-certificates curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true - -ENV APP_VERSION="8.1.0-1" \ - BITNAMI_APP_NAME="percona-xtrabackup" \ - PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:$PATH" - -USER 1001 -ENTRYPOINT [ "xtrabackup" ] diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index f984c3d84ce4..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "percona-xtrabackup": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "8.1.0-1-1" - } -} \ No newline at end of file diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 76956b38e82c..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,2 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses under: -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index acbc3173208c..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/run-script deleted file mode 100755 index 4ca0f897277e..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/prebuildfs/usr/sbin/run-script +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -u - -if [ $# -eq 0 ]; then - >&2 echo "No arguments provided" - exit 1 -fi - -script=$1 -exit_code="${2:-96}" -fail_if_not_present="${3:-n}" - -if test -f "$script"; then - sh $script - - if [ $? -ne 0 ]; then - exit $((exit_code)) - fi -elif [ "$fail_if_not_present" = "y" ]; then - >&2 echo "script not found: $script" - exit 127 -fi diff --git a/bitnami/percona-xtrabackup/8.1/debian-11/tags-info.yaml b/bitnami/percona-xtrabackup/8.1/debian-11/tags-info.yaml deleted file mode 100644 index e92165ff7170..000000000000 --- a/bitnami/percona-xtrabackup/8.1/debian-11/tags-info.yaml +++ /dev/null @@ -1,4 +0,0 @@ -rolling-tags: -- "8.1" -- 8.1-debian-11 -- 8.1.0-1 diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/Dockerfile b/bitnami/percona-xtrabackup/8.2/debian-11/Dockerfile deleted file mode 100644 index f1781d4b05c2..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-02-16T15:04:18Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.2.0-1-debian-11-r21" \ - org.opencontainers.image.title="percona-xtrabackup" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="8.2.0-1" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl libaio1 libbrotli1 libcom-err2 libcurl4 libev4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblz4-1 liblzma5 libnettle8 libnghttp2-14 libp11-kit0 libprocps8 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libunistring2 libzstd1 procps rsync zlib1g -RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ - COMPONENTS=( \ - "percona-xtrabackup-8.2.0-1-1-linux-${OS_ARCH}-debian-11" \ - ) ; \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi ; \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' ; \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y ca-certificates curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami -RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true - -ENV APP_VERSION="8.2.0-1" \ - BITNAMI_APP_NAME="percona-xtrabackup" \ - PATH="/opt/bitnami/common/bin:/opt/bitnami/mysql/bin:$PATH" - -USER 1001 -ENTRYPOINT [ "xtrabackup" ] diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index cb84b1c17e9e..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "percona-xtrabackup": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "8.2.0-1-1" - } -} \ No newline at end of file diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 76956b38e82c..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,2 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses under: -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index acbc3173208c..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/run-script deleted file mode 100755 index 4ca0f897277e..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/prebuildfs/usr/sbin/run-script +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 -set -u - -if [ $# -eq 0 ]; then - >&2 echo "No arguments provided" - exit 1 -fi - -script=$1 -exit_code="${2:-96}" -fail_if_not_present="${3:-n}" - -if test -f "$script"; then - sh $script - - if [ $? -ne 0 ]; then - exit $((exit_code)) - fi -elif [ "$fail_if_not_present" = "y" ]; then - >&2 echo "script not found: $script" - exit 127 -fi diff --git a/bitnami/percona-xtrabackup/8.2/debian-11/tags-info.yaml b/bitnami/percona-xtrabackup/8.2/debian-11/tags-info.yaml deleted file mode 100644 index 0854722cef74..000000000000 --- a/bitnami/percona-xtrabackup/8.2/debian-11/tags-info.yaml +++ /dev/null @@ -1,5 +0,0 @@ -rolling-tags: -- "8.2" -- 8.2-debian-11 -- 8.2.0-1 -- latest diff --git a/bitnami/percona-xtrabackup/README.md b/bitnami/percona-xtrabackup/README.md deleted file mode 100644 index d649d1119397..000000000000 --- a/bitnami/percona-xtrabackup/README.md +++ /dev/null @@ -1,97 +0,0 @@ -# Bitnami package for Percona XtraBackup - -## What is Percona XtraBackup? - -> Percona XtraBackup is a set of tools for performing backups of MySQL databases. It executes online non-blocking, tightly compressed, and highly secure full backups on transactional systems. - -[Overview of Percona XtraBackup](https://www.percona.com/software/mysql-database/percona-xtrabackup/) -Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement. - -## TL;DR - -```console -docker run --name percona-xtrabackup bitnami/percona-xtrabackup:latest -``` - -## Why use Bitnami Images? - -* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. -* With Bitnami images the latest bug fixes and features are available as soon as possible. -* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs. -* All our images are based on [**minideb**](https://github.com/bitnami/minideb) -a minimalist Debian based container image that gives you a small base container image and the familiarity of a leading Linux distribution- or **scratch** -an explicitly empty image-. -* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. -* Bitnami container images are released on a regular basis with the latest distribution packages available. - -Looking to use Percona XtraBackup in production? Try [VMware Tanzu Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog. - -## Supported tags and respective `Dockerfile` links - -Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). - -You can see the equivalence between the different tags by taking a look at the `tags-info.yaml` file present in the branch folder, i.e `bitnami/ASSET/BRANCH/DISTRO/tags-info.yaml`. - -Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). - -## Get this image - -The recommended way to get the Bitnami percona-xtrabackup Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/percona-xtrabackup). - -```console -docker pull bitnami/percona-xtrabackup:latest -``` - -To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/percona-xtrabackup/tags/) in the Docker Hub Registry. - -```console -docker pull bitnami/percona-xtrabackup:[TAG] -``` - -If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the `docker build` command. Remember to replace the `APP`, `VERSION` and `OPERATING-SYSTEM` path placeholders in the example command below with the correct values. - -```console -git clone https://github.com/bitnami/containers.git -cd bitnami/APP/VERSION/OPERATING-SYSTEM -docker build -t bitnami/APP:latest . -``` - -## Configuration - -### Running commands - -To run commands inside this container you can use `docker run`. The container has the Percona XtraBackup tools `xtrabackup`, `xbstream`, `xbcrypt` and `xbcloud`. For example, to run `xtrabackup --version` you can follow the example below: - -```console -docker run --rm --name percona-xtrabackup bitnami/percona-xtrabackup:latest -- xtrabackup --version -``` - -Check the [official percona-xtrabackup documentation](https://www.percona.com/doc/percona-xtrabackup/LATEST/manual.html) for a list of the available parameters. - -## Notable Changes - -### Starting January 16, 2024 - -* The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes. - -## Contributing - -We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. - -## Issues - -If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new/choose). For us to provide better support, be sure to fill the issue template. - -## License - -Copyright © 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License.