| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt update && apt install -y software-properties-common ca-certificates && add-apt-repository -y ppa:mozillateam/ppa # buildkit |
| RUN /bin/sh -c echo 'Package: firefox*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001\n\nPackage: thunderbird*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001' > /etc/apt/preferences.d/mozilla # buildkit |
| RUN /bin/sh -c apt update && apt install -y xrdp sssd sssd-tools libpam-sss libnss-sss ldap-utils ca-certificates dbus-x11 xfce4 xfce4-terminal sudo firefox firefox-locale-de thunderbird thunderbird-locale-de locales language-pack-de && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c sed -i 's/^# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && locale-gen && update-locale LANG=de_DE.UTF-8 LANGUAGE=de_DE:de LC_ALL=de_DE.UTF-8 # buildkit |
| RUN /bin/sh -c echo "LANG=de_DE.UTF-8" > /etc/default/locale && echo "LANGUAGE=de_DE:de" >> /etc/default/locale && echo "LC_ALL=de_DE.UTF-8" >> /etc/default/locale # buildkit |
| ENV LANG=de_DE.UTF-8 |
| ENV LANGUAGE=de_DE:de |
| ENV LC_ALL=de_DE.UTF-8 |
| RUN /bin/sh -c apt update && apt install -y tzdata && ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && dpkg-reconfigure -f noninteractive tzdata && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c apt update && apt install -y keyboard-configuration x11-xkb-utils && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c cat > /etc/default/keyboard <<'EOF'
XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
EOF # buildkit |
| RUN /bin/sh -c dpkg-reconfigure -f noninteractive keyboard-configuration # buildkit |
| COPY config/pam/ /etc/pam.d/ # buildkit |
| COPY config/nsswitch.conf /etc/nsswitch.conf # buildkit |
| COPY config/xrdp/ /etc/xrdp/ # buildkit |
| COPY config/ldap/ /etc/ldap/ # buildkit |
| COPY config/skel/ /etc/skel/ # buildkit |
| COPY config/sudoers /etc/sudoers # buildkit |
| RUN /bin/sh -c chmod 440 /etc/sudoers # buildkit |
| RUN /bin/sh -c mkdir -p /etc/sssd && chown root:root /etc/sssd && chmod 755 /etc/sssd # buildkit |
| RUN /bin/sh -c mkdir -p /home && chmod 755 /home # buildkit |
| RUN /bin/sh -c chown xrdp:xrdp /etc/xrdp/key.pem /etc/xrdp/cert.pem /etc/xrdp/rsakeys.ini && chmod 600 /etc/xrdp/key.pem /etc/xrdp/rsakeys.ini && chmod 644 /etc/xrdp/cert.pem # buildkit |
| RUN /bin/sh -c echo "LANG=de_DE.UTF-8" >> /etc/environment && echo "LANGUAGE=de_DE:de" >> /etc/environment && echo "LC_ALL=de_DE.UTF-8" >> /etc/environment # buildkit |
| RUN /bin/sh -c sed -i '1i export LANG=de_DE.UTF-8\nexport LANGUAGE=de_DE:de\nexport LC_ALL=de_DE.UTF-8' /etc/xrdp/startwm.sh && chmod +x /etc/xrdp/startwm.sh # buildkit |
| RUN /bin/sh -c mkdir -p /etc/xdg/xfce4 && echo "setxkbmap de" >> /etc/xdg/xfce4/xinitrc # buildkit |
| EXPOSE &{[{{104 0} {104 0}}] 0xc000bffbc0} |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| CMD ["/entrypoint.sh"] |