refactor
This commit is contained in:
parent
eb4b5925ab
commit
0890842d49
19
Dockerfile
19
Dockerfile
@ -4,16 +4,17 @@ 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
|
||||||
|
|
||||||
ADD https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public /tmp/public
|
RUN apt-get update
|
||||||
|
RUN apt-get -y --no-install-recommends install \
|
||||||
|
ca-certificates apt-transport-https gnupg
|
||||||
|
|
||||||
RUN apt-get update && \
|
ADD https://atlassian.artifactoryonline.com/atlassian/api/gpg/key/public \
|
||||||
apt-get -y --no-install-recommends install ca-certificates apt-transport-https && \
|
/tmp/public
|
||||||
cat /tmp/public | apt-key add - && \
|
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 && \
|
echo "deb https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client xenial main" > /etc/apt/sources.list.d/atlassian-hipchat4.list
|
||||||
apt-get update && \
|
RUN apt-get update
|
||||||
apt-get -y --no-install-recommends install hipchat4 libqt5gui5 && \
|
RUN apt-get -y --no-install-recommends install hipchat4 libqt5gui5
|
||||||
apt-get -fy --no-install-recommends install && \
|
RUN apt-get -fy --no-install-recommends install
|
||||||
rm -rf -- /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
RUN useradd -u 1000 -m -d /home/user -s /usr/sbin/nologin -g video user
|
RUN useradd -u 1000 -m -d /home/user -s /usr/sbin/nologin -g video user
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user