FROM ubuntu:16.04
RUN apt-get -y update
RUN apt-get -y install \
    cmake \
    desktop-file-utils \
    git \
    gnome-doc-utils \
    gobject-introspection \
    intltool \
    libcanberra-dev \
    libenchant-dev \
    libgcr-3-dev \
    libgee-0.8-dev \
    libgirepository1.0-dev \
    libgmime-2.6-dev \
    libgtk-3-dev \
    libnotify-dev \
    libsecret-1-dev \
    libsoup2.4-dev \
    libsqlite3-dev \
    libwebkitgtk-3.0-dev \
    sqlite3 \
    valac
RUN git clone https://github.com/GNOME/geary.git
RUN cd geary && git checkout wip/775730-long-delay-sent-mail
RUN cd geary && ./configure
RUN cd geary && make build
