FROM ubuntu:20.04

ENV DEBIAN_FRONTEND noninteractive


# Install dependencies.
RUN apt-add-repository -y ppa:arsalanshah/opensource-socialnetwork
    && apt-get update \
#    && apt-get install -y --no-install-recommends \
    && apt-get install -y opensource-socialnetwork \
    && rm -Rf /var/lib/apt/lists/* \
    && rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
    && apt-get clean
#RUN sed -i 's/^\($ModLoad imklog\)/#\1/' /etc/rsyslog.conf

# Fix potential UTF-8 errors with ansible-test.
RUN locale-gen en_GB.UTF-8


#VOLUME ["/sys/fs/cgroup", "/tmp", "/run"]
#CMD ["/lib/systemd/systemd"]
