keepass2/Dockerfile
2016-04-02 22:49:02 +02:00

20 lines
402 B
Docker

FROM ubuntu
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 install -yq keepass2 xdotool \
&& rm -rf /var/lib/apt/lists
ENV USER user
ENV UID 1000
ENV HOME /home/$USER
RUN useradd -u $UID -m -d $HOME -s /usr/sbin/nologin $USER
WORKDIR $HOME
USER $USER
ENTRYPOINT keepass2