diff --git a/bitnami/harbor-registryctl/2/debian-11/Dockerfile b/bitnami/harbor-registryctl/2/debian-11/Dockerfile index 7ddbf4b13f3f..906f895fc0a3 100644 --- a/bitnami/harbor-registryctl/2/debian-11/Dockerfile +++ b/bitnami/harbor-registryctl/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-10T12:21:48Z" \ + org.opencontainers.image.created="2024-01-19T20:45:46Z" \ 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-registryctl" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="2.10.0" @@ -26,7 +26,7 @@ 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=( \ - "yq-4.40.5-0-linux-${OS_ARCH}-debian-11" \ + "yq-4.40.5-1-linux-${OS_ARCH}-debian-11" \ "harbor-registry-2.10.0-1-linux-${OS_ARCH}-debian-11" \ "harbor-registryctl-2.10.0-1-linux-${OS_ARCH}-debian-11" \ ) ; \ @@ -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-registryctl/postunpack.sh diff --git a/bitnami/harbor-registryctl/2/debian-11/docker-compose.yml b/bitnami/harbor-registryctl/2/debian-11/docker-compose.yml deleted file mode 100644 index 469e73451b0a..000000000000 --- a/bitnami/harbor-registryctl/2/debian-11/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' - -services: - harbor-registryctl: - image: docker.io/bitnami/harbor-registryctl:2 - ports: - - 80:8080 - environment: - - CORE_SECRET=not-a-secure-core-secret - - JOBSERVICE_SECRET=not-a-secure-jobservice-secret - volumes: - - harbor-registry_data:/storage - - ./config/registry/:/etc/registry/:ro - - ./config/registryctl/config.yml:/etc/registryctl/config.yml:ro - -volumes: - harbor-registry_data: - driver: local diff --git a/bitnami/harbor-registryctl/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/harbor-registryctl/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 5d0fb2973312..1ca74835f016 100644 --- a/bitnami/harbor-registryctl/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/harbor-registryctl/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -15,6 +15,6 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "4.40.5-0" + "version": "4.40.5-1" } } \ No newline at end of file diff --git a/bitnami/harbor-registryctl/README.md b/bitnami/harbor-registryctl/README.md index 35a1a329a66b..615c9deaaf5e 100644 --- a/bitnami/harbor-registryctl/README.md +++ b/bitnami/harbor-registryctl/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-registryctl bitnami/harbor-registryctl:latest +``` ## Why use Bitnami Images? @@ -51,6 +49,32 @@ Harbor Registryctl is a component of the Harbor application. In order to get the 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_REGISTRYCTL_BASE_DIR` | harbor-registryctl installation directory. | `${BITNAMI_ROOT_DIR}/harbor-registryctl` | +| `HARBOR_REGISTRYCTL_VOLUME_DIR` | harbor-registry volume directory. | `${BITNAMI_VOLUME_DIR}/harbor-registry` | +| `HARBOR_REGISTRYCTL_STORAGE_DIR` | harbor-registry storage directory. | `${HARBOR_REGISTRYCTL_VOLUME_DIR}/storage` | +| `HARBOR_REGISTRYCTL_STORAGE_DIR` | harbor-registry storage directory. | `/storage` | +| `HARBOR_REGISTRYCTL_LOGS_DIR` | harbor-registryctl logs directory. | `${HARBOR_REGISTRYCTL_BASE_DIR}/logs` | +| `HARBOR_REGISTRYCTL_TMP_DIR` | harbor-registryctl directory for temporary files. | `${HARBOR_REGISTRYCTL_BASE_DIR}/tmp` | +| `HARBOR_REGISTRYCTL_DAEMON_USER` | harbor-registryctl system user. | `harbor` | +| `HARBOR_REGISTRYCTL_DAEMON_GROUP` | harbor-registryctl system group. | `harbor` | +| `HARBOR_REGISTRYCTL_PID_FILE` | PID file for harbor-registryctl service. | `${HARBOR_REGISTRYCTL_TMP_DIR}/harbor-registryctl.pid` | +| `HARBOR_REGISTRYCTL_LOG_FILE` | Log file for harbor-registryctl service. | `${HARBOR_REGISTRYCTL_LOGS_DIR}/harbor-registryctl.log` | +| `HARBOR_REGISTRYCTL_EXTRA_ENV_FILE` | File to store extra environment variables for the harbor-registryctl service. | `${HARBOR_REGISTRYCTL_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.