diff --git a/bitnami/harbor-jobservice/2/debian-11/Dockerfile b/bitnami/harbor-jobservice/2/debian-11/Dockerfile index a23cba986dea..8aac82b2d4f0 100644 --- a/bitnami/harbor-jobservice/2/debian-11/Dockerfile +++ b/bitnami/harbor-jobservice/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:09:53Z" \ + org.opencontainers.image.created="2024-01-19T20:40:06Z" \ 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-r2" \ + org.opencontainers.image.ref.name="2.10.0-debian-11-r3" \ org.opencontainers.image.title="harbor-jobservice" \ 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-jobservice-2.10.0-1-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ @@ -41,6 +41,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ RUN 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-jobservice/postunpack.sh diff --git a/bitnami/harbor-jobservice/2/debian-11/docker-compose.yml b/bitnami/harbor-jobservice/2/debian-11/docker-compose.yml deleted file mode 100644 index b3d88acc2713..000000000000 --- a/bitnami/harbor-jobservice/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-jobservice: - image: docker.io/bitnami/harbor-jobservice:2 - ports: - - 80:8080 - environment: - - CORE_SECRET=not-a-secure-core-secret - - JOBSERVICE_SECRET=not-a-secure-jobservice-secret - - CORE_URL=http://harbor-core:8080 - volumes: - - harbor-jobservice_data:/var/log/jobs - - ./config/jobservice/config.yml:/etc/jobservice/config.yml:ro - -volumes: - harbor-jobservice_data: - driver: local diff --git a/bitnami/harbor-jobservice/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/harbor-jobservice/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index c1778ae14487..65a8328a50a8 100644 --- a/bitnami/harbor-jobservice/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/harbor-jobservice/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -9,6 +9,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-jobservice/README.md b/bitnami/harbor-jobservice/README.md index d41d4c3bde7e..eef077ca015a 100644 --- a/bitnami/harbor-jobservice/README.md +++ b/bitnami/harbor-jobservice/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-jobservice bitnami/harbor-jobservice:latest +``` ## Why use Bitnami Images? @@ -51,6 +49,29 @@ Harbor Job Service 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_JOBSERVICE_BASE_DIR` | harbor-jobservice installation directory. | `${BITNAMI_ROOT_DIR}/harbor-jobservice` | +| `HARBOR_JOBSERVICE_LOGS_DIR` | harbor-jobservice logs directory. | `${HARBOR_JOBSERVICE_BASE_DIR}/logs` | +| `HARBOR_JOBSERVICE_TMP_DIR` | harbor-jobservice directory for temporary files. | `${HARBOR_JOBSERVICE_BASE_DIR}/tmp` | +| `HARBOR_JOBSERVICE_DAEMON_USER` | harbor-jobservice system user. | `harbor` | +| `HARBOR_JOBSERVICE_DAEMON_GROUP` | harbor-jobservice system group. | `harbor` | +| `HARBOR_JOBSERVICE_PID_FILE` | PID file for harbor-jobservice service. | `${HARBOR_JOBSERVICE_TMP_DIR}/harbor-jobservice.pid` | +| `HARBOR_JOBSERVICE_LOG_FILE` | Log file for harbor-jobservice service. | `${HARBOR_JOBSERVICE_LOGS_DIR}/harbor-jobservice.log` | +| `HARBOR_JOBSERVICE_EXTRA_ENV_FILE` | File to store extra environment variables for the harbor-jobservice service. | `${HARBOR_JOBSERVICE_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.