hipchat/Dockerfile
Andrey Arapov 68670f86ad
All checks were successful
the build was successful
fixes
2018-08-22 12:02:09 +02:00

26 lines
870 B
Docker

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