6 Commits

Author SHA1 Message Date
ezkrg
c707306d27 alpine 3.10 and bitlbee 3.6 2019-07-22 14:41:04 +02:00
ezkrg
b58ea1f200 use rocketchat commit 2019-07-22 13:07:47 +02:00
ezkrg
8dcaa37c0e Merge pull request #11 from cutzenfriend/master
Added bash to packages
2019-07-22 13:02:59 +02:00
cutzenfriend
387f47c769 Update Dockerfile 2019-07-20 23:28:43 +02:00
ezkrg
d1b783b906 Merge pull request #7 from ezkrg/fix-issue-6
use sipe version instead of master
2018-09-14 17:08:27 +02:00
ezkrg
7daae39fae use sipe version instead of master 2018-09-14 17:06:17 +02:00

View File

@@ -1,6 +1,8 @@
FROM alpine:3.8 FROM alpine:3.10
ENV BITLBEE_VERSION 3.5.1 ENV BITLBEE_VERSION 3.6
ENV SIPE_VERSION upstream/1.23.3
ENV ROCKETCHAT_VERSION 826990b
RUN addgroup -g 101 -S bitlbee \ RUN addgroup -g 101 -S bitlbee \
&& adduser -u 101 -D -S -G bitlbee bitlbee \ && adduser -u 101 -D -S -G bitlbee bitlbee \
@@ -11,13 +13,15 @@ RUN addgroup -g 101 -S bitlbee \
libpurple-bonjour \ libpurple-bonjour \
json-glib \ json-glib \
libgcrypt \ libgcrypt \
libssl1.0 \ libssl1.1 \
libcrypto1.0 \ libcrypto1.1 \
gettext \ gettext \
libwebp \ libwebp \
glib \ glib \
protobuf-c \ protobuf-c \
discount-libs \ discount-libs \
libpng \
bash \
&& apk add --no-cache --update --virtual .build-dependencies \ && apk add --no-cache --update --virtual .build-dependencies \
git \ git \
make \ make \
@@ -36,6 +40,7 @@ RUN addgroup -g 101 -S bitlbee \
mercurial \ mercurial \
libxml2-dev \ libxml2-dev \
discount-dev \ discount-dev \
libpng-dev \
&& cd /tmp \ && cd /tmp \
&& git clone https://github.com/bitlbee/bitlbee.git \ && git clone https://github.com/bitlbee/bitlbee.git \
&& cd bitlbee \ && cd bitlbee \
@@ -86,6 +91,7 @@ RUN addgroup -g 101 -S bitlbee \
&& cd /tmp \ && cd /tmp \
&& git clone https://github.com/tieto/sipe.git \ && git clone https://github.com/tieto/sipe.git \
&& cd sipe \ && cd sipe \
&& git checkout ${SIPE_VERSION} \
&& ./autogen.sh \ && ./autogen.sh \
&& ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \ && ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \
&& make \ && make \
@@ -100,7 +106,7 @@ RUN addgroup -g 101 -S bitlbee \
&& make install \ && make install \
&& strip /usr/lib/bitlbee/discord.so \ && strip /usr/lib/bitlbee/discord.so \
&& cd /tmp \ && cd /tmp \
&& hg clone https://bitbucket.org/EionRobb/purple-rocketchat \ && hg clone https://bitbucket.org/EionRobb/purple-rocketchat -r ${ROCKETCHAT_VERSION} \
&& cd purple-rocketchat \ && cd purple-rocketchat \
&& make \ && make \
&& make install \ && make install \