From ebd1b60fac16b8b2505cb74cc42e05c1d216cef8 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 22 Jan 2024 12:53:42 +0100 Subject: [PATCH] [bitnami/harbor-core] Release 2.10.0-debian-11-r2 (#55244) Signed-off-by: Bitnami Containers --- bitnami/harbor-core/2/debian-11/Dockerfile | 7 ++-- .../2/debian-11/docker-compose.yml | 23 ------------ .../opt/bitnami/.bitnami_components.json | 2 +- bitnami/harbor-core/README.md | 35 +++++++++++++++---- 4 files changed, 34 insertions(+), 33 deletions(-) delete mode 100644 bitnami/harbor-core/2/debian-11/docker-compose.yml diff --git a/bitnami/harbor-core/2/debian-11/Dockerfile b/bitnami/harbor-core/2/debian-11/Dockerfile index c74fff618f7e..1500b6512530 100644 --- a/bitnami/harbor-core/2/debian-11/Dockerfile +++ b/bitnami/harbor-core/2/debian-11/Dockerfile @@ -7,10 +7,10 @@ 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-01-10T11:55:24Z" \ + org.opencontainers.image.created="2024-01-22T10:32:32Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.10.0-debian-11-r1" \ + org.opencontainers.image.ref.name="2.10.0-debian-11-r2" \ org.opencontainers.image.title="harbor-core" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.10.0" @@ -26,8 +26,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl procps RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ + "wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \ "ini-file-1.4.6-5-linux-${OS_ARCH}-debian-11" \ - "wait-for-port-1.0.7-4-linux-${OS_ARCH}-debian-11" \ "harbor-core-2.10.0-1-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ @@ -43,6 +43,7 @@ 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 find / -perm /6000 -type f -exec chmod a-s {} \; || true COPY rootfs / RUN /opt/bitnami/scripts/harbor-core/postunpack.sh diff --git a/bitnami/harbor-core/2/debian-11/docker-compose.yml b/bitnami/harbor-core/2/debian-11/docker-compose.yml deleted file mode 100644 index 6e99730276ed..000000000000 --- a/bitnami/harbor-core/2/debian-11/docker-compose.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' - -services: - harbor-core: - image: docker.io/bitnami/harbor-core:2 - ports: - - 80:8080 - environment: - - LOG_LEVEL=info - - CONFIG_PATH=/etc/core/app.conf - - CORE_SECRET=not-a-secure-core-secret - - JOBSERVICE_SECRET=not-a-secure-jobservice-secret - volumes: - - ./config/core/app.conf:/etc/core/app.conf:ro - - ./config/core/private_key.pem:/etc/core/private_key.pem:ro - - harbor-core_data:/data - -volumes: - harbor-core_data: - driver: local diff --git a/bitnami/harbor-core/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/harbor-core/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 58a02bb40a5f..acb691e2ad8f 100644 --- a/bitnami/harbor-core/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/harbor-core/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -15,6 +15,6 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.0.7-4" + "version": "1.0.7-5" } } \ No newline at end of file diff --git a/bitnami/harbor-core/README.md b/bitnami/harbor-core/README.md index cefb15562303..e49bb91eb1af 100644 --- a/bitnami/harbor-core/README.md +++ b/bitnami/harbor-core/README.md @@ -8,13 +8,11 @@ ## TL;DR -```console -curl -LO https://raw.githubusercontent.com/bitnami/containers/main/bitnami/harbor-portal/docker-compose.yml -curl -L https://github.com/bitnami/containers/archive/main.tar.gz | tar xz --strip=2 containers-main/bitnami/harbor-portal && cp -RL harbor-portal/config . && rm -rf harbor-portal -docker-compose up -``` +This container is part of the [Harbor solution](https://github.com/bitnami/charts/tree/main/bitnami/harbor) that is primarily intended to be deployed in Kubernetes. -> Please note you are downloading the docker-compose.yml file from the Harbor Portal component repository. +```console +docker run --name harbor-core bitnami/harbor-core:latest +``` ## Why use Bitnami Images? @@ -51,6 +49,31 @@ Harbor Core is a component of the Harbor application. In order to get the Harbor For further information about the specific component itself, please refer to the [source repository documentation](https://github.com/goharbor/harbor/tree/main/docs). +### Environment variables + +#### Customizable environment variables + +#### Read-only environment variables + +| Name | Description | Value | +|------------------------------|------------------------------------------------------------------------|-------------------------------------------| +| `HARBOR_CORE_BASE_DIR` | harbor-core installation directory. | `${BITNAMI_ROOT_DIR}/harbor-core` | +| `HARBOR_CORE_VOLUME_DIR` | harbor-core volume directory. | `${BITNAMI_VOLUME_DIR}/harbor-core` | +| `HARBOR_CORE_VOLUME_DIR` | harbor-core volume directory. | `/data` | +| `HARBOR_CORE_LOGS_DIR` | harbor-core logs directory. | `${HARBOR_CORE_BASE_DIR}/logs` | +| `HARBOR_CORE_TMP_DIR` | harbor-core directory for temporary files. | `${HARBOR_CORE_BASE_DIR}/tmp` | +| `HARBOR_CORE_DAEMON_USER` | harbor-core system user. | `harbor` | +| `HARBOR_CORE_DAEMON_GROUP` | harbor-core system group. | `harbor` | +| `HARBOR_CORE_PID_FILE` | PID file for harbor-core service. | `${HARBOR_CORE_TMP_DIR}/harbor-core.pid` | +| `HARBOR_CORE_LOG_FILE` | Log file for harbor-core service. | `${HARBOR_CORE_LOGS_DIR}/harbor-core.log` | +| `HARBOR_CORE_EXTRA_ENV_FILE` | File to store extra environment variables for the harbor-core service. | `${HARBOR_CORE_BASE_DIR}/.env` | + +## 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.