mirror of
https://github.com/bitnami/containers.git
synced 2026-02-12 15:17:15 +08:00
[bitnami/harbor-core] Release 2.10.0-debian-11-r2 (#55244)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -15,6 +15,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.7-4"
|
||||
"version": "1.0.7-5"
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user