Warning, /office/kmymoney/docker/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM ubuntu:focal
0002 
0003 ENV DEBIAN_FRONTEND noninteractive
0004 
0005 RUN echo "tzdata tzdata/Areas select Europe" | debconf-set-selections
0006 RUN echo "tzdata tzdata/Zones/Europe select Madrid" | debconf-set-selections
0007 RUN apt update \
0008     && apt install -y apt-utils gnupg wget \
0009     && wget -qO - http://archive.neon.kde.org/public.key | apt-key add - \
0010     && echo "deb http://archive.neon.kde.org/user focal main" >> /etc/apt/sources.list \
0011     && echo "deb-src http://archive.neon.kde.org/user focal main" >> /etc/apt/sources.list \
0012     && sed -i -- 's/#[ ]*deb-src/deb-src/g' /etc/apt/sources.list \
0013     && apt update \
0014     && apt install -y eatmydata \
0015     && eatmydata apt upgrade -y \
0016     && eatmydata apt install -y openssh-server gdb rsync iputils-ping telnet \
0017     && eatmydata apt build-dep -y kmymoney \
0018     && eatmydata apt install -y qt5-default \
0019     && eatmydata apt install -y libsqlcipher-dev \
0020     && eatmydata apt install -y libqt5sql5-* \
0021     && eatmydata apt install -y subversion python3-dev ninja-build \
0022     && eatmydata apt install -y breeze-icon-theme fonts-noto-color-emoji
0023 
0024 RUN mkdir /var/run/sshd \
0025     && echo 'root:root' | chpasswd \
0026     && sed -i 's/#\?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
0027 
0028 # SSH login fix. Otherwise user is kicked off after login
0029 RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
0030 
0031 ENV NOTVISIBLE "in users profile"
0032 RUN echo "export VISIBLE=now" >> /etc/profile
0033 
0034 # 22 for ssh server. 
0035 EXPOSE 22 
0036 
0037 ########################################################
0038 # Add custom packages and development environment here
0039 ########################################################
0040 
0041 ########################################################
0042 
0043 CMD ["/usr/sbin/sshd", "-D"]