Another attempt to get bitlbee jabber working.

This commit is contained in:
Stanislav Nikitin 2020-01-08 13:59:19 +05:00
parent 07523f2dd5
commit a1dbe0906e
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -13,8 +13,7 @@ ENV BITLBEE_COMMIT=3a547ee9dcf5c790f68ee2118389dd27ed471b23 \
libevent \ libevent \
libgcrypt \ libgcrypt \
libotr \ libotr \
libsasl \ libsasl"
openldap"
# bitlbee # bitlbee
RUN apk add --update --no-cache --virtual build-dependencies \ RUN apk add --update --no-cache --virtual build-dependencies \
@ -23,8 +22,9 @@ RUN apk add --update --no-cache --virtual build-dependencies \
glib-dev \ glib-dev \
gnutls-dev \ gnutls-dev \
libevent-dev \ libevent-dev \
libgcrypt-dev \
libotr-dev \ libotr-dev \
openldap-dev; \ python3 ; \
apk add --no-cache --virtual runtime-dependencies ${RUNTIME_DEPS}; \ apk add --no-cache --virtual runtime-dependencies ${RUNTIME_DEPS}; \
cd /root; \ cd /root; \
git clone -n https://github.com/bitlbee/bitlbee; \ git clone -n https://github.com/bitlbee/bitlbee; \
@ -32,11 +32,9 @@ RUN apk add --update --no-cache --virtual build-dependencies \
git checkout ${BITLBEE_COMMIT}; \ git checkout ${BITLBEE_COMMIT}; \
cp bitlbee.conf /bitlbee.conf; \ cp bitlbee.conf /bitlbee.conf; \
mkdir /bitlbee-data; \ mkdir /bitlbee-data; \
./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --debug=0 --events=libevent --purple=0 --ldap=1 --jabber=1 --twitter=1 --config=/bitlbee-data; \ ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --events=libevent --otr=plugin --ssl=gnutls --config=/bitlbee-data; \
make; \ make; \
make install; \ make install install-bin install-etc install-plugin-otr; \
make install-dev; \
make install-etc; \
adduser -u 1000 -S bitlbee; \ adduser -u 1000 -S bitlbee; \
addgroup -g 1000 -S bitlbee; \ addgroup -g 1000 -S bitlbee; \
chown -R bitlbee:bitlbee /bitlbee-data; \ chown -R bitlbee:bitlbee /bitlbee-data; \