Do not compile on configure errors and fixed build.

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

View File

@ -32,9 +32,9 @@ RUN apk add --update --no-cache --virtual build-dependencies \
git checkout ${BITLBEE_COMMIT}; \
cp bitlbee.conf /bitlbee.conf; \
mkdir /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 install install-bin install-etc install-plugin-otr; \
PYTHON=/usr/bin/python3 ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --events=libevent --otr=plugin --ssl=gnutls --jabber=1 --twitter=1 --plugins=1 --doc=1 --purple=0 --config=/bitlbee-data && \
make && \
make install install-bin install-etc install-plugin-otr install-dev; \
adduser -u 1000 -S bitlbee; \
addgroup -g 1000 -S bitlbee; \
chown -R bitlbee:bitlbee /bitlbee-data; \