bumped hipchat to version 4

This commit is contained in:
Andy 2016-04-14 12:05:21 +02:00
parent 7fb357c104
commit 9dfdc4d7d0
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
3 changed files with 14 additions and 10 deletions

View File

@ -1,16 +1,16 @@
# FROM debian:jessie FROM ubuntu:trusty
FROM ubuntu:xenial
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com> MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards # To avoid problems with Dialog and curses wizards
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN echo 'deb http://downloads.hipchat.com/linux/apt stable main' > /etc/apt/sources.list.d/atlassian-hipchat.list \ RUN apt-get update \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0xAAD4AA21729B5780 \ && apt-get install -yq apt-transport-https wget \
&& wget -O - https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public | apt-key add - \
&& echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client $(lsb_release -c -s) main" > /etc/apt/sources.list.d/atlassian-hipchat4.list \
&& apt-get update \ && apt-get update \
&& apt-get install -yq hipchat libcanberra0 libltdl7 libqt5core5a \ && apt-get install -yq hipchat4 libqt5gui5 \
libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5qml5 \ && apt-get -fyq install \
libqt5quick5 libqt5widgets5 libqt5xml5 libxcomposite1 \
&& rm -rf -- /var/lib/apt/lists/* && rm -rf -- /var/lib/apt/lists/*
ENV USER user ENV USER user
@ -22,4 +22,4 @@ RUN useradd -u $UID -m -d $HOME -s /usr/sbin/nologin -g $GROUPS $USER
WORKDIR $HOME WORKDIR $HOME
USER user USER user
VOLUME [ "/tmp" ] VOLUME [ "/tmp" ]
ENTRYPOINT [ "/usr/bin/hipchat" ] ENTRYPOINT [ "/usr/local/bin/hipchat4" ]

View File

@ -1,4 +1,4 @@
# Running HipChat in Docker # Running HipChat4 in Docker
* 1. [Install Docker](https://docs.docker.com/engine/installation/) * 1. [Install Docker](https://docs.docker.com/engine/installation/)
* 2. Install [docker-compose](https://docs.docker.com/compose/install/) * 2. Install [docker-compose](https://docs.docker.com/compose/install/)

View File

@ -1,5 +1,8 @@
version: '2' version: '2'
volumes:
hipchat_data: {}
services: services:
hipchat: hipchat:
image: andrey01/hipchat image: andrey01/hipchat
@ -8,8 +11,9 @@ services:
- /dev/dri - /dev/dri
volumes: volumes:
- /tmp/.X11-unix:/tmp/.X11-unix - /tmp/.X11-unix:/tmp/.X11-unix
- hipchat_data:/home/user
# - $HOME/.config/Atlassian:/home/user/.config/Atlassian # - $HOME/.config/Atlassian:/home/user/.config/Atlassian
- ./HipChat.ini:/home/user/.config/Atlassian/HipChat.ini # - ./HipChat.ini:/home/user/.config/Atlassian/HipChat.ini
environment: environment:
- DISPLAY=unix$DISPLAY - DISPLAY=unix$DISPLAY
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam