Upgrade Debian to "bookworm" in Docker image

This commit is contained in:
tyranron 2023-06-13 15:16:07 +02:00
parent 8f9446cf8f
commit f908c65a06
No known key found for this signature in database
GPG Key ID: 762E144FB230A4F0
5 changed files with 16 additions and 6 deletions

View File

@ -4,6 +4,16 @@ Coturn TURN server Docker image changelog
## [4.6.2-r2] · 2023-06-13
[4.6.2-r2]: /../../tree/docker/4.6.2-r2
### Upgraded
- [Debian Linux] "bookworm": <https://www.debian.org/releases/bookworm>
## [4.6.2-r1] · 2023-05-10
[4.6.2-r1]: /../../tree/docker/4.6.2-r1

View File

@ -28,7 +28,7 @@ COTURN_VER ?= 4.6.2
COTURN_MIN_VER = $(strip $(shell echo $(COTURN_VER) | cut -d '.' -f1,2))
COTURN_MAJ_VER = $(strip $(shell echo $(COTURN_VER) | cut -d '.' -f1))
BUILD_REV ?= 1
BUILD_REV ?= 2
NAME := coturn
OWNER := $(or $(GITHUB_REPOSITORY_OWNER),coturn)

View File

@ -15,8 +15,8 @@ Coturn TURN server Docker image
## Supported tags and respective `Dockerfile` links
- [`4.6.2-r1`, `4.6.2-r1-debian`, `4.6.2`, `4.6.2-debian`, `4.6`, `4.6-debian`, `4`, `4-debian`, `debian`, `latest`][d1]
- [`4.6.2-r1-alpine`, `4.6.2-alpine`, `4.6-alpine`, `4-alpine`, `alpine`][d2]
- [`4.6.2-r2`, `4.6.2-r2-debian`, `4.6.2`, `4.6.2-debian`, `4.6`, `4.6-debian`, `4`, `4-debian`, `debian`, `latest`][d1]
- [`4.6.2-r2-alpine`, `4.6.2-alpine`, `4.6-alpine`, `4-alpine`, `alpine`][d2]

View File

@ -2,7 +2,7 @@
# Dockerfile of coturn/coturn:debian Docker image.
#
ARG debian_ver=bullseye
ARG debian_ver=bookworm
@ -183,7 +183,7 @@ RUN apt-get update \
libatomic1 \
libevent-2.1-7 libevent-core-2.1-7 libevent-extra-2.1-7 \
libevent-openssl-2.1-7 libevent-pthreads-2.1-7 \
libssl1.1 \
libssl3 \
libpq5 libmariadb3 libsqlite3-0 \
libhiredis0.14 \
libmongoc-1.0-0 \

View File

@ -102,7 +102,7 @@ fi
IFS="$(printf '\nx')" && IFS="${IFS%x}"
for COMMAND in $COMMANDS; do
if IP="$(eval "$COMMAND")" && is_valid_ip "$IP"; then
if IP="$(eval "$COMMAND 2>/dev/null")" && is_valid_ip "$IP"; then
printf '%s' "$IP"
exit 0
fi