|
|
@@ -34,14 +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.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
|
|
|
+ apt-get install -y libc6 libevent-core-2.1-6 libevent-extra-2.1-6 libevent-openssl-2.1-6 libevent-pthreads-2.1-6 libhiredis0.14 libmariadbclient-dev libpq5 libsqlite3-0 libssl1.1 libmongoc-1.0-0 libbson-1.0-0
|
|
|
RUN apt-get install -y default-mysql-client postgresql-client redis-tools
|
|
|
|
|
|
+# Workaround for MongoDB
|
|
|
+RUN ln -s /bin/echo /bin/systemctl
|
|
|
+
|
|
|
# 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 && \
|
|
|
+ wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - && \
|
|
|
+ echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.4 main" | tee /etc/apt/sources.list.d/mongodb-org-4.4.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
|