2019-04-13 15:51:20 -04:00
|
|
|
# Build the latest openSUSE Tumbleweed image
|
2020-03-30 12:51:45 -04:00
|
|
|
FROM opensuse/tumbleweed
|
2019-04-13 15:51:20 -04:00
|
|
|
|
2019-04-14 04:39:24 -04:00
|
|
|
# expect - for functional tests
|
|
|
|
# libmicrohttpd - for stabber
|
|
|
|
# glibc-locale - to have en_US locale
|
2019-04-13 15:51:20 -04:00
|
|
|
RUN zypper --non-interactive in --no-recommends \
|
|
|
|
autoconf \
|
|
|
|
autoconf-archive \
|
|
|
|
automake \
|
2019-06-04 07:45:17 -04:00
|
|
|
expect-devel \
|
|
|
|
gcc \
|
|
|
|
git \
|
2019-04-13 15:51:20 -04:00
|
|
|
glib2-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
glibc-locale \
|
2019-04-13 15:51:20 -04:00
|
|
|
gtk2-devel \
|
|
|
|
libXss-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
libcmocka-devel \
|
2019-04-13 15:51:20 -04:00
|
|
|
libcurl-devel \
|
|
|
|
libexpat-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
libgcrypt-devel \
|
2019-04-13 15:51:20 -04:00
|
|
|
libgpgme-devel \
|
|
|
|
libmesode-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
libmicrohttpd-devel \
|
2019-04-13 15:51:20 -04:00
|
|
|
libnotify-devel \
|
|
|
|
libotr-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
libsignal-protocol-c-devel \
|
|
|
|
libtool \
|
2019-04-13 15:51:20 -04:00
|
|
|
libuuid-devel \
|
2019-06-04 07:45:17 -04:00
|
|
|
make \
|
2019-04-13 15:51:20 -04:00
|
|
|
ncurses-devel \
|
|
|
|
python \
|
2019-06-04 07:45:17 -04:00
|
|
|
python-devel \
|
|
|
|
python3 \
|
|
|
|
python3-devel \
|
2020-03-23 06:24:57 -04:00
|
|
|
readline-devel \
|
|
|
|
sqlite3-devel
|
2019-04-14 04:39:24 -04:00
|
|
|
|
|
|
|
# https://github.com/openSUSE/docker-containers-build/issues/26
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
ENV LANGUAGE en_US:en
|
|
|
|
ENV LC_ALL en_US.UTF-8
|
2019-04-13 15:51:20 -04:00
|
|
|
|
|
|
|
RUN mkdir -p /usr/src
|
|
|
|
WORKDIR /usr/src
|
|
|
|
|
2020-07-08 07:03:19 -04:00
|
|
|
#RUN mkdir -p /usr/src/stabber
|
|
|
|
#RUN git clone git://github.com/boothj5/stabber.git
|
|
|
|
#WORKDIR /usr/src/stabber
|
|
|
|
#RUN ./bootstrap.sh
|
|
|
|
#RUN ./configure --prefix=/usr --disable-dependency-tracking
|
|
|
|
#RUN make
|
|
|
|
#RUN make install
|
2019-04-13 15:51:20 -04:00
|
|
|
|
|
|
|
RUN mkdir -p /usr/src/profanity
|
|
|
|
WORKDIR /usr/src/profanity
|
|
|
|
COPY . /usr/src/profanity
|