-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bitnami/kubeapps-oci-catalog] Release 2.8.0-debian-11-r1
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
- Loading branch information
1 parent
6de3f85
commit c668ef9
Showing
8 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# 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="2023-07-24T13:14:01Z" \ | ||
org.opencontainers.image.description="Application packaged by VMware, Inc" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.ref.name="2.8.0-debian-11-r1" \ | ||
org.opencontainers.image.title="kubeapps-oci-catalog" \ | ||
org.opencontainers.image.vendor="VMware, Inc." \ | ||
org.opencontainers.image.version="2.8.0" | ||
|
||
ENV HOME="/" \ | ||
OS_ARCH="${TARGETARCH:-amd64}" \ | ||
OS_FLAVOUR="debian-11" \ | ||
OS_NAME="linux" | ||
|
||
COPY prebuildfs / | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
# Install required system packages and dependencies | ||
RUN install_packages ca-certificates curl libgcc-s1 libssl1.1 procps | ||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ | ||
COMPONENTS=( \ | ||
"kubeapps-oci-catalog-2.8.0-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 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 | ||
|
||
ENV APP_VERSION="2.8.0" \ | ||
BITNAMI_APP_NAME="kubeapps-oci-catalog" \ | ||
PATH="/opt/bitnami/kubeapps-oci-catalog/bin:$PATH" | ||
|
||
USER 1001 | ||
ENTRYPOINT [ "kubeapps-oci-catalog" ] | ||
CMD [ "--help" ] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright VMware, Inc. | ||
# SPDX-License-Identifier: APACHE-2.0 | ||
|
||
version: '2' | ||
services: | ||
kubeapps-oci-catalog: | ||
image: docker.io/bitnami/kubeapps-oci-catalog:2 |
8 changes: 8 additions & 0 deletions
8
bitnami/kubeapps-oci-catalog/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"kubeapps-oci-catalog": { | ||
"arch": "amd64", | ||
"distro": "debian-11", | ||
"type": "NAMI", | ||
"version": "2.8.0-1" | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
bitnami/kubeapps-oci-catalog/2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Bitnami containers ship with software bundles. You can find the licenses under: | ||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt |
27 changes: 27 additions & 0 deletions
27
bitnami/kubeapps-oci-catalog/2/debian-11/prebuildfs/usr/sbin/install_packages
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/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 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rolling-tags: | ||
- "2" | ||
- 2-debian-11 | ||
- 2.8.0 | ||
- latest |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Kubeapps OCI Catalog Service packaged by Bitnami | ||
|
||
## What is Kubeapps OCI Catalog Service? | ||
|
||
> Stateless gRPC service that provides a generic API for listing repositories and their latest tags for various OCI implementations so that the caller can use a single API for the different registries. | ||
[Overview of Kubeapps OCI Catalog Service](https://github.com/vmware-tanzu/kubeapps) | ||
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 kubeapps-oci-catalog bitnami/kubeapps-oci-catalog: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. | ||
|
||
Looking to use Kubeapps OCI Catalog Service in production? Try [VMware Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog. | ||
|
||
## How to deploy Kubeapps OCI Catalog Service in Kubernetes? | ||
|
||
Deploying Bitnami applications as Helm Charts is the easiest way to get started with our applications on Kubernetes. Read more about the installation in the [Bitnami Kubeapps Chart GitHub repository](https://github.com/bitnami/charts/tree/master/bitnami/kubeapps). | ||
|
||
## Why use a non-root container? | ||
|
||
Non-root container images add an extra layer of security and are generally recommended for production environments. However, because they run as a non-root user, privileged tasks are typically off-limits. Learn more about non-root containers [in our docs](https://docs.bitnami.com/tutorials/work-with-non-root-containers/). | ||
|
||
## 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). | ||
|
||
## Configuration | ||
|
||
For further documentation, please check [here](https://github.com/vmware-tanzu/kubeapps/tree/master/cmd/pinniped-proxy). | ||
|
||
## 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 © 2023 VMware, Inc. | ||
|
||
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 | ||
|
||
<http://www.apache.org/licenses/LICENSE-2.0> | ||
|
||
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. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright VMware, Inc. | ||
# SPDX-License-Identifier: APACHE-2.0 | ||
|
||
version: '2' | ||
services: | ||
kubeapps-oci-catalog: | ||
image: docker.io/bitnami/kubeapps-oci-catalog:2 |