7.4.2-ol-7-r24 release

This commit is contained in:
Bitnami Bot
2019-11-21 03:51:24 +00:00
parent 8af449ded4
commit 560c1bc2cf
3 changed files with 18 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ RUN curl --silent -L https://github.com/tianon/gosu/releases/download/1.11/gosu-
COPY rootfs /
RUN /postunpack.sh
ENV BITNAMI_APP_NAME="logstash" \
BITNAMI_IMAGE_VERSION="7.4.2-ol-7-r23" \
BITNAMI_IMAGE_VERSION="7.4.2-ol-7-r24" \
PATH="/opt/bitnami/logstash/bin:/opt/bitnami/java/bin:$PATH"
EXPOSE 8080

View File

@@ -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