Skip to content

Commit

Permalink
Aid alpine Docker image for 4.5.2 Coturn release
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jun 3, 2021
1 parent 6953126 commit 9ba8ab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/coturn/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ RUN if [ "${coturn_git_ref}" != 'HEAD' ]; then true \
&& true; fi

# Build Coturn from sources.
RUN ./configure --prefix=/usr \
# TODO: Remove this symlink with next Coturn release detecting MySQL libs correctly.
RUN ln -s /usr/lib/pkgconfig/libmariadb.pc /usr/lib/pkgconfig/mariadb.pc \
&& ./configure --prefix=/usr \
--turndbdir=/var/lib/coturn \
--disable-rpath \
--sysconfdir=/etc/coturn \
Expand Down
2 changes: 1 addition & 1 deletion docker/coturn/tests/main.bats
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
[ -z "$COTURN_VERSION" ] && skip

run docker run --rm --platform $PLATFORM --entrypoint sh $IMAGE -c \
"turnserver -o --log-file=stdout | grep 'Version Coturn' \
"turnserver -o --log-file=stdout | grep -m 1 'Version Coturn' \
| cut -d ' ' -f2 \
| cut -d '-' -f2"
[ "$status" -eq 0 ]
Expand Down

0 comments on commit 9ba8ab3

Please sign in to comment.