mirror of
https://github.com/bitnami/containers.git
synced 2026-03-19 15:57:46 +08:00
2.1.3-debian-10-r2 release
This commit is contained in:
@@ -18,7 +18,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
RUN /opt/bitnami/scripts/harbor-adapter-trivy/postunpack.sh
|
RUN /opt/bitnami/scripts/harbor-adapter-trivy/postunpack.sh
|
||||||
ENV BITNAMI_APP_NAME="harbor-adapter-trivy" \
|
ENV BITNAMI_APP_NAME="harbor-adapter-trivy" \
|
||||||
BITNAMI_IMAGE_VERSION="2.1.3-debian-10-r1" \
|
BITNAMI_IMAGE_VERSION="2.1.3-debian-10-r2" \
|
||||||
PATH="/opt/bitnami/harbor-adapter-trivy/bin:/opt/bitnami/common/bin:$PATH"
|
PATH="/opt/bitnami/harbor-adapter-trivy/bin:/opt/bitnami/common/bin:$PATH"
|
||||||
|
|
||||||
WORKDIR /opt/bitnami/harbor-adapter-trivy
|
WORKDIR /opt/bitnami/harbor-adapter-trivy
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ set -o pipefail
|
|||||||
. /opt/bitnami/scripts/libharbor.sh
|
. /opt/bitnami/scripts/libharbor.sh
|
||||||
|
|
||||||
read -r -a directories <<<"$(get_system_cert_paths)"
|
read -r -a directories <<<"$(get_system_cert_paths)"
|
||||||
directories+=("${SCANNER_TRIVY_CACHE_DIR}" "${SCANNER_TRIVY_REPORTS_DIR}")
|
directories+=("$SCANNER_TRIVY_CACHE_DIR" "$SCANNER_TRIVY_REPORTS_DIR")
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
for dir in "${directories[@]}"; do
|
for dir in "${directories[@]}"; do
|
||||||
ensure_dir_exists "${dir}"
|
ensure_dir_exists "$dir"
|
||||||
chmod -R g+rwX "${dir}"
|
chmod -R g+rwX "$dir"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Fix for CentOS Internal TLS
|
# Fix for CentOS Internal TLS
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ cmd=$(command -v scanner-trivy)
|
|||||||
|
|
||||||
info "** Starting Harbor Adapter Trivy **"
|
info "** Starting Harbor Adapter Trivy **"
|
||||||
if am_i_root; then
|
if am_i_root; then
|
||||||
exec gosu "$SCANNER_TRIVY_DAEMON_USER" "${cmd}" "$@"
|
exec gosu "$SCANNER_TRIVY_DAEMON_USER" "$cmd" "$@"
|
||||||
else
|
else
|
||||||
exec "${cmd}" "$@"
|
exec "$cmd" "$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ set -o pipefail
|
|||||||
. /opt/bitnami/scripts/libharbor.sh
|
. /opt/bitnami/scripts/libharbor.sh
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
for dir in "${SCANNER_TRIVY_CACHE_DIR}" "${SCANNER_TRIVY_REPORTS_DIR}"; do
|
for dir in "$SCANNER_TRIVY_CACHE_DIR" "$SCANNER_TRIVY_REPORTS_DIR"; do
|
||||||
ensure_dir_exists "${dir}"
|
ensure_dir_exists "$dir"
|
||||||
if am_i_root; then
|
if am_i_root; then
|
||||||
chown -R "${SCANNER_TRIVY_DAEMON_USER}:${SCANNER_TRIVY_DAEMON_GROUP}" "$dir"
|
chown -R "${SCANNER_TRIVY_DAEMON_USER}:${SCANNER_TRIVY_DAEMON_GROUP}" "$dir"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ Non-root container images add an extra layer of security and are generally recom
|
|||||||
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/).
|
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/).
|
||||||
|
|
||||||
|
|
||||||
* [`2`, `2-debian-10`, `2.1.3`, `2.1.3-debian-10-r1`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy/blob/2.1.3-debian-10-r1/2/debian-10/Dockerfile)
|
* [`2`, `2-debian-10`, `2.1.3`, `2.1.3-debian-10-r2`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy/blob/2.1.3-debian-10-r2/2/debian-10/Dockerfile)
|
||||||
|
|
||||||
Subscribe to project updates by watching the [bitnami/harbor-adapter-trivy GitHub repo](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy).
|
Subscribe to project updates by watching the [bitnami/harbor-adapter-trivy GitHub repo](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user