mirror of
https://github.com/bitnami/containers.git
synced 2026-03-19 15:57:46 +08:00
2.1.2-debian-10-r12 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.2-debian-10-r11" \
|
BITNAMI_IMAGE_VERSION="2.1.2-debian-10-r12" \
|
||||||
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
|
||||||
|
|||||||
@@ -10,15 +10,17 @@
|
|||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Resolve dns
|
# Resolve IP address for a host/domain (i.e. DNS lookup)
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# $1 - Hostname to resolve
|
# $1 - Hostname to resolve
|
||||||
|
# $2 - IP address version (v4, v6), leave empty for resolving to any version
|
||||||
# Returns:
|
# Returns:
|
||||||
# IP
|
# IP
|
||||||
#########################
|
#########################
|
||||||
dns_lookup() {
|
dns_lookup() {
|
||||||
local host="${1:?host is missing}"
|
local host="${1:?host is missing}"
|
||||||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
local ip_version="${2:-}"
|
||||||
|
getent "ahosts${ip_version}" "$host" | awk '/STREAM/ {print $1 }' | head -n 1
|
||||||
}
|
}
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
|
|||||||
@@ -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.2`, `2.1.2-debian-10-r11`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy/blob/2.1.2-debian-10-r11/2/debian-10/Dockerfile)
|
* [`2`, `2-debian-10`, `2.1.2`, `2.1.2-debian-10-r12`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-trivy/blob/2.1.2-debian-10-r12/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