Files
@ 09ebd5487d7f
Branch filter:
Location: libtransport.git/Dockerfile-alpine - annotation
09ebd5487d7f
3.5 KiB
text/plain
build fixes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 affd19661280 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 affd19661280 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 affd19661280 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 affd19661280 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 09ebd5487d7f ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 affd19661280 affd19661280 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 ac45aa89bf87 | FROM alpine:3.6
EXPOSE 5222 5269
VOLUME ["/etc/spectrum2/transports", "/var/lib/spectrum2"]
ADD . /usr/src/spectrum2
RUN apk add --no-cache ca-certificates && \
apk add --no-cache --virtual .build-deps cmake make gcc g++ musl-dev boost-dev glib-dev protobuf-dev mariadb-dev sqlite-dev postgresql-dev pidgin-dev libev-dev qt-dev apr-util-dev automake autoconf libtool git popt-dev curl-dev openssl libevent-dev mercurial json-glib-dev py2-pip python2-dev libgcrypt-dev libwebp-dev libgnome-keyring-dev nss-dev && \
cd /usr/src/ && \
wget https://github.com/communi/libcommuni/archive/v3.5.0.tar.gz -O libcommuni-3.5.0.tar.gz && \
tar xfz libcommuni-*.tar.gz && \
cd libcommuni-* && \
./configure --prefix=/opt/libcommuni && \
make && \
make install && \
cd .. && \
rm -rf libcommuni-* && \
git clone git://git.apache.org/logging-log4cxx.git && \
cd logging-log4cxx && \
./autogen.sh && \
./configure --prefix=/opt/log4cxx && \
make && \
make install && \
cd .. && \
rm -rf logging-log4cxx && \
wget http://pqxx.org/download/software/libpqxx/libpqxx-4.0.1.tar.gz && \
tar xfz libpqxx-*.tar.gz && \
cd libpqxx-* && \
./autogen.sh && \
./configure --enable-shared --disable-documentation --prefix=/opt/libpqxx && \
make && \
make install && \
cd .. && \
rm -rf libpqxx-* && \
wget https://swift.im/downloads/releases/swift-4.0rc2/swift-4.0rc2.tar.gz && \
tar xfz swift-*.tar.gz && \
cd swift-* && \
./scons Swiften SWIFTEN_INSTALLDIR=/opt/_swiften /opt/_swiften && \
cd .. && \
rm -rf swift-* && \
cd spectrum2 && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLOG4CXX_INCLUDE_DIR=/opt/log4cxx/include -DLOG4CXX_LIBRARIES=/opt/log4cxx/lib/liblog4cxx.so -DSWIFTEN_INCLUDE_DIR=/opt/_swiften/include -DSWIFTEN_LIBRARY=/opt/_swiften/lib -DSWIFTEN_CONFIG_EXECUTABLE=/opt/_swiften/bin/swiften-config -DPQXX_INCLUDE_DIR=/opt/libpqxx/include -DPQXX_LIBRARY=/opt/libpqxx/lib/libpqxx.so -DPQ_LIBRARY=/opt/libpqxx/lib/libpqxx.so -DIRC_INCLUDE_DIR=/opt/libcommuni/include -DIRC_LIBRARY=/opt/libcommuni/lib/libIrcCore.so && \
make && \
make install && \
cd .. && \
rm /opt/* -rf && \
wget https://github.com/dequis/purple-facebook/releases/download/v0.9.4-c9b74a765767/purple-facebook-0.9.4-c9b74a765767.tar.gz && \
tar -xf purple-facebook-0.9.4-c9b74a765767.tar.gz && \
cd purple-facebook-0.9.4-c9b74a765767 && \
./autogen.sh && \
./configure && \
make && \
make install && \
cd .. && \
rm -rf purple-facebook* && \
git clone git://github.com/EionRobb/skype4pidgin.git && \
cd skype4pidgin/skypeweb && \
make && \
make install && \
cd ../.. && \
rm -rf skype4pidgin && \
pip install --pre e4u protobuf python-dateutil yowsup2 Pillow==2.9.0 && \
git clone git://github.com/stv0g/transwhat.git && \
git clone git://github.com/tgalal/yowsup.git && \
cd transwhat && \
git worktree add /opt/transwhat && \
cd .. && \
cd yowsup && \
cp -R yowsup /opt/transwhat/yowsup && \
cd .. && \
rm -r transwhat && \
rm -r yowsup && \
rm -rf /opt/transwhat/.git &&\
rm -rf /opt/transwhat/.gitignore &&\
git clone --recursive https://github.com/majn/telegram-purple && \
cd telegram-purple && \
./configure && \
make && \
make install && \
cd .. && \
rm -rf telegram-purple && \
git clone https://github.com/EionRobb/purple-discord.git && \
cd purple-discord && \
make && \
make install && \
cd .. && \
rm -rf purple-discord && \
git clone https://github.com/EionRobb/pidgin-opensteamworks.git && \
cd pidgin-opensteamworks/steam-mobile && \
make && \
make install && \
cd ../.. && \
rm -rf pidgin-opensteamworks && \
apk del .build-deps
|