keepass2/Dockerfile

16 lines
392 B
Docker
Raw Permalink Normal View History

2017-06-24 14:11:27 +00:00
FROM debian:stretch
2016-04-02 20:49:02 +00:00
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
# To avoid problems with Dialog and curses wizards
2017-06-24 14:11:27 +00:00
ENV DEBIAN_FRONTEND=noninteractive
2016-04-02 20:49:02 +00:00
RUN apt-get update
2017-06-24 14:11:27 +00:00
RUN apt-get -y --no-install-recommends install keepass2 xdotool \
2016-04-02 20:49:02 +00:00
&& rm -rf /var/lib/apt/lists
2017-06-24 14:11:27 +00:00
RUN useradd -u 1000 -m -d /home/user -s /usr/sbin/nologin user
2016-04-02 20:49:02 +00:00
2017-06-24 14:11:27 +00:00
WORKDIR /home/user
USER user
2016-04-02 20:49:02 +00:00
ENTRYPOINT keepass2