|
@@ -34,8 +34,17 @@ COPY --from=coturn-build ${BUILD_PREFIX}/coturn/turndb ${INSTALL_PREFIX}/turndb
|
|
|
# Install lib dependencies
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
|
apt-get update && \
|
|
|
- apt-get install -y libc6>=2.15 libevent-core-2.0-5>=2.0.10-stable libevent-extra-2.0-5>=2.0.10-stable libevent-openssl-2.0-5>=2.0.10-stable libevent-pthreads-2.0-5>=2.0.10-stable libhiredis0.13>=0.13.1 libmariadbclient18>=5.5.36 libpq5>=8.4~ libsqlite3-0>=3.6.0 libssl1.1>=1.1.0 libmongoc-1.0 libbson-1.0
|
|
|
-RUN apt-get install -y mysql-client postgresql-client redis-tools mongodb-clients
|
|
|
+ apt-get install -y libc6>=2.15 libevent-core-2.1-6>=libevent-core-2.1-6 libevent-extra-2.1-6>=2.1.8-stable-4 libevent-openssl-2.1-6>=2.1.8-stable-4 libevent-pthreads-2.1-6>=2.1.8-stable-4 libhiredis0.14>=0.14.0 libmariadbclient-dev>=10.3.17 libpq5>=8.4~ libsqlite3-0>=3.6.0 libssl1.1>=1.1.0 libmongoc-1.0 libbson-1.0
|
|
|
+RUN apt-get install -y default-mysql-client postgresql-client redis-tools
|
|
|
+
|
|
|
+# Install MongoDB
|
|
|
+RUN apt-get update && \
|
|
|
+ apt-get install -y wget gnupg && \
|
|
|
+ wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add - && \
|
|
|
+ echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list && \
|
|
|
+ echo "deb http://deb.debian.org/debian/ stretch main" | tee /etc/apt/sources.list.d/debian-stretch.list && \
|
|
|
+ apt-get update && \
|
|
|
+ apt-get install -y libcurl3 mongodb-org mongodb-org-server mongodb-org
|
|
|
|
|
|
RUN if ! getent group "$TURNSERVER_GROUP" >/dev/null; then \
|
|
|
addgroup --system "$TURNSERVER_GROUP" || exit 1 ;\
|