mirror of
https://github.com/bitnami/containers.git
synced 2026-03-05 16:17:21 +08:00
1.4.0-ol-7-r16 release
This commit is contained in:
@@ -14,7 +14,7 @@ RUN . ./libcomponent.sh && component_unpack "kong" "1.4.0-0" --checksum 0336b221
|
||||
COPY rootfs /
|
||||
RUN /postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="kong" \
|
||||
BITNAMI_IMAGE_VERSION="1.4.0-ol-7-r15" \
|
||||
BITNAMI_IMAGE_VERSION="1.4.0-ol-7-r16" \
|
||||
PATH="/opt/bitnami/kong/bin:/opt/bitnami/kong/openresty/bin:/opt/bitnami/kong/openresty/luajit/bin:/opt/bitnami/kong/openresty/nginx/sbin:$PATH"
|
||||
|
||||
EXPOSE 8000 8001 8443 8444
|
||||
|
||||
@@ -35,7 +35,7 @@ ensure_dir_exists() {
|
||||
local owner="${2:-}"
|
||||
|
||||
mkdir -p "${dir}"
|
||||
if [[ "$owner" != "" ]]; then
|
||||
if [[ -n $owner ]]; then
|
||||
owned_by "$dir" "$owner"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#########################
|
||||
dns_lookup() {
|
||||
local host="${1:?host is missing}"
|
||||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
||||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
||||
}
|
||||
|
||||
########################
|
||||
@@ -36,9 +36,9 @@ get_machine_ip() {
|
||||
#########################
|
||||
is_hostname_resolved() {
|
||||
local -r host="${1:?missing value}"
|
||||
if dns_lookup "$host" > /dev/null; then
|
||||
if [[ -n "$(dns_lookup "$host")" ]]; then
|
||||
true
|
||||
else
|
||||
false
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -51,7 +51,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/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`1-ol-7`, `1.4.0-ol-7-r15` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-ol-7-r15/1/ol-7/Dockerfile)
|
||||
* [`1-ol-7`, `1.4.0-ol-7-r16` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-ol-7-r16/1/ol-7/Dockerfile)
|
||||
* [`1-debian-9`, `1.4.0-debian-9-r11`, `1`, `1.4.0`, `1.4.0-r11`, `latest` (1/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-debian-9-r11/1/debian-9/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/kong GitHub repo](https://github.com/bitnami/bitnami-docker-kong).
|
||||
|
||||
Reference in New Issue
Block a user