2019-06-04 07:45:17 -04:00
|
|
|
# Build the latest Debian testing image
|
|
|
|
FROM debian:testing
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
autoconf \
|
|
|
|
autoconf-archive \
|
|
|
|
automake \
|
|
|
|
expect \
|
|
|
|
gcc \
|
|
|
|
git \
|
|
|
|
libcmocka-dev \
|
|
|
|
libcurl3-dev \
|
|
|
|
libgcrypt-dev \
|
|
|
|
libglib2.0-dev \
|
|
|
|
libgpgme11-dev \
|
|
|
|
libgtk2.0-dev \
|
|
|
|
libmicrohttpd-dev \
|
|
|
|
libncursesw5-dev \
|
|
|
|
libnotify-dev \
|
|
|
|
libotr5-dev \
|
|
|
|
libreadline-dev \
|
|
|
|
libsignal-protocol-c-dev \
|
|
|
|
libssl-dev \
|
|
|
|
libtool \
|
|
|
|
libxss-dev \
|
|
|
|
make \
|
|
|
|
pkg-config \
|
2021-10-16 08:38:23 -04:00
|
|
|
python3-dev \
|
2021-10-16 11:54:28 -04:00
|
|
|
python-dev-is-python3 \
|
2020-03-23 06:24:57 -04:00
|
|
|
libsqlite3-dev
|
2019-06-04 07:45:17 -04:00
|
|
|
|
|
|
|
RUN mkdir -p /usr/src/{stabber,libmesode,profanity}
|
|
|
|
WORKDIR /usr/src
|
|
|
|
|
|
|
|
RUN git clone git://github.com/boothj5/stabber.git
|
|
|
|
RUN git clone git://github.com/profanity-im/libmesode.git
|
|
|
|
|
|
|
|
WORKDIR /usr/src/stabber
|
|
|
|
RUN ./bootstrap.sh
|
|
|
|
RUN ./configure --prefix=/usr --disable-dependency-tracking
|
|
|
|
RUN make
|
|
|
|
RUN make install
|
|
|
|
|
|
|
|
WORKDIR /usr/src/libmesode
|
|
|
|
RUN ./bootstrap.sh
|
|
|
|
RUN ./configure --prefix=/usr
|
|
|
|
RUN make
|
|
|
|
RUN make install
|
|
|
|
|
|
|
|
WORKDIR /usr/src/profanity
|
|
|
|
COPY . /usr/src/profanity
|