mirror of
https://github.com/bitnami/containers.git
synced 2026-03-22 15:58:21 +08:00
1.4.0-ol-7-r31 release
This commit is contained in:
@@ -14,7 +14,7 @@ RUN . ./libcomponent.sh && component_unpack "kong" "1.4.0-1" --checksum a0aee6a7
|
||||
COPY rootfs /
|
||||
RUN /postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="kong" \
|
||||
BITNAMI_IMAGE_VERSION="1.4.0-ol-7-r30" \
|
||||
BITNAMI_IMAGE_VERSION="1.4.0-ol-7-r31" \
|
||||
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
|
||||
|
||||
@@ -1,20 +1,29 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
n=0
|
||||
set -eu
|
||||
|
||||
if [[ -n "oracle-epel-release-el7" ]]; then
|
||||
if ! yum list installed oracle-epel-release-el7 >/dev/null 2>&1; then
|
||||
yum -y install oracle-epel-release-el7 >/dev/null 2>&1
|
||||
CODE=$?
|
||||
if (( $CODE != 0 )); then
|
||||
echo "EPEL repository installation failed"
|
||||
exit $CODE
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
for ((n = 1 ; n <= max ; n+=1 )); do
|
||||
set +e
|
||||
yum --enablerepo base,updates,ol7_developer_EPEL,ol7_optional_latest install -y "$@"
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
if (( $CODE == 0 )); then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
if (( $n == $max )); then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "yum failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/cache/yum
|
||||
|
||||
@@ -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-r30` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-ol-7-r30/1/ol-7/Dockerfile)
|
||||
* [`1-ol-7`, `1.4.0-ol-7-r31` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-ol-7-r31/1/ol-7/Dockerfile)
|
||||
* [`1-debian-9`, `1.4.0-debian-9-r22`, `1`, `1.4.0`, `1.4.0-r22`, `latest` (1/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-kong/blob/1.4.0-debian-9-r22/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