You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
895 B

6 years ago
FROM ubuntu:xenial
8 years ago
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards
ENV DEBIAN_FRONTEND noninteractive
ADD https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public /tmp/public
8 years ago
RUN apt-get update && \
apt-get -y --no-install-recommends install ca-certificates apt-transport-https && \
cat /tmp/public | apt-key add - && \
6 years ago
echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client xenial main" > /etc/apt/sources.list.d/atlassian-hipchat4.list && \
8 years ago
apt-get update && \
apt-get -y --no-install-recommends install hipchat4 libqt5gui5 && \
apt-get -fy --no-install-recommends install && \
rm -rf -- /var/lib/apt/lists/*
8 years ago
6 years ago
RUN useradd -u 1000 -m -d /home/user -s /usr/sbin/nologin -g video user
8 years ago
6 years ago
WORKDIR /home/user
8 years ago
VOLUME [ "/tmp" ]
USER user
ENTRYPOINT [ "/usr/local/bin/hipchat4" ]