enable odbc and mssql

pull/51/head
Christoph Scholz 4 years ago
parent 1a23caeaf6
commit 4e6db5ee36

@ -29,7 +29,7 @@ RUN mkdir runtime \
&& cp -r /ejabberd/sql lib/ejabberd-*/priv
# Runtime container
FROM alpine:3.9
FROM alpine:3.11
ARG VERSION
ARG VCS_REF
ARG BUILD_DATE
@ -63,6 +63,7 @@ RUN addgroup ejabberd -g 9000 \
RUN apk upgrade --update musl \
&& apk add \
expat \
freetds \
gd \
jpeg \
libgd \
@ -76,6 +77,7 @@ RUN apk upgrade --update musl \
unixodbc \
yaml \
zlib \
&& ln -fs /usr/lib/libtdsodbc.so.0 /usr/lib/libtdsodbc.so \
&& rm -rf /var/cache/apk/*
# Install ejabberd

@ -1,4 +1,5 @@
{mysql, true}.
{odbc, true}.
{pgsql, true}.
{sqlite, true}.
{redis, true}.

@ -1,4 +1,4 @@
FROM alpine:3.9
FROM alpine:3.11
LABEL maintainer="ProcessOne <contact@process-one.net>" \
product="Ejabberd mix development environment"
@ -8,7 +8,7 @@ RUN apk upgrade --update musl \
gd-dev jpeg-dev libpng-dev libwebp-dev autoconf automake bash \
elixir erlang-crypto erlang-eunit erlang-mnesia erlang-erts erlang-hipe \
erlang-tools erlang-os-mon erlang-syntax-tools erlang-parsetools \
erlang-runtime-tools erlang-reltool file curl \
erlang-runtime-tools erlang-reltool erlang-odbc file curl \
&& rm -rf /var/cache/apk/*
# Setup runtime environment

Loading…
Cancel
Save