hipchat/Dockerfile

28 lines
927 B
Docker
Raw Normal View History

2018-03-05 10:25:34 +00:00
FROM ubuntu:xenial
2016-04-14 09:34:11 +00:00
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards
ENV DEBIAN_FRONTEND noninteractive
2018-05-18 08:52:31 +00:00
RUN apt-get update
2018-07-11 09:15:47 +00:00
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade
2018-05-18 08:52:31 +00:00
RUN apt-get -y --no-install-recommends install \
ca-certificates apt-transport-https gnupg
2018-05-18 08:52:31 +00:00
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
2016-04-14 09:34:11 +00:00
2018-03-05 10:25:34 +00:00
RUN useradd -u 1000 -m -d /home/user -s /usr/sbin/nologin -g video user
2016-04-14 09:34:11 +00:00
2018-07-04 08:53:02 +00:00
ENV HOME /home/user
2018-03-05 10:25:34 +00:00
WORKDIR /home/user
2016-04-14 09:34:11 +00:00
VOLUME [ "/tmp" ]
USER user
ENTRYPOINT [ "/usr/local/bin/hipchat4" ]