ubuntu-xrdp (gitea)
Published 2024-09-25 08:53:44 +02:00 by RogerSik
Installation
docker pull gitea.sikorski.cloud/rogersik/ubuntu-xrdp:gitea
sha256:50b9c458b777b05e563030dc5b5324376b6e4f01648956c09c71fc82c15bf457
Image Layers
ADD file:c753df38640ab6e246d9e66f0cef7156b7003976080b1e0b83e5717cd6ef1725 in / |
/bin/sh -c set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests |
/bin/sh -c rm -rf /var/lib/apt/lists/* |
/bin/sh -c sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list |
/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container |
CMD ["/bin/bash"] |
MAINTAINER Daniel Guerra |
ENV DEBIAN_FRONTEND=noninteractive |
/bin/sh -c sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list |
/bin/sh -c apt-get -y update |
/bin/sh -c apt-get -yy upgrade |
ENV BUILD_DEPS=git autoconf pkg-config libssl-dev libpam0g-dev libx11-dev libxfixes-dev libxrandr-dev nasm xsltproc flex bison libxml2-dev dpkg-dev libcap-dev xserver-xorg-dev |
/bin/sh -c apt-get -yy install sudo apt-utils software-properties-common vim wget ca-certificates xauth supervisor uuid-runtime pulseaudio locales xserver-xorg $BUILD_DEPS |
WORKDIR /tmp |
/bin/sh -c apt-get source pulseaudio |
/bin/sh -c apt-get build-dep -yy pulseaudio |
WORKDIR /tmp/pulseaudio-8.0 |
/bin/sh -c dpkg-buildpackage -rfakeroot -uc -b |
WORKDIR /tmp |
/bin/sh -c git clone --branch v0.9.4 --recursive https://github.com/neutrinolabs/xrdp.git |
WORKDIR /tmp/xrdp |
/bin/sh -c ./bootstrap |
/bin/sh -c ./configure |
/bin/sh -c make |
/bin/sh -c make install |
WORKDIR /tmp/xrdp/sesman/chansrv/pulse |
/bin/sh -c sed -i "s/\/tmp\/pulseaudio\-10\.0/\/tmp\/pulseaudio\-8\.0/g" Makefile |
/bin/sh -c make |
/bin/sh -c cp *.so /usr/lib/pulse-8.0/modules/ |
WORKDIR /tmp |
/bin/sh -c git clone --branch v0.2.4 --recursive https://github.com/neutrinolabs/xorgxrdp.git |
WORKDIR /tmp/xorgxrdp |
/bin/sh -c ./bootstrap |
/bin/sh -c ./configure |
/bin/sh -c make |
/bin/sh -c make install |
WORKDIR / |
/bin/sh -c apt-get -yy remove xscreensaver |
/bin/sh -c apt-get -yy remove $BULD_DEPS |
/bin/sh -c apt-get -yy autoremove |
/bin/sh -c apt-get -yy clean |
/bin/sh -c rm -rf /tmp/* |
ADD dir:d3e20bcbf1688ee4509c849d76cf12a37641c4949207c4ed320661d85107c313 in /etc |
ADD dir:6d85504749d24d53e987d2ab044e31efda4c70d182a72c94658b61f3b33a40f4 in /usr/bin |
/bin/sh -c mkdir /var/run/dbus |
/bin/sh -c cp /etc/X11/xrdp/xorg.conf /etc/X11 |
/bin/sh -c sed -i "s/xrdp\/xorg/xorg/g" /etc/xrdp/sesman.ini |
/bin/sh -c locale-gen en_US.UTF-8 |
/bin/sh -c rm -rf /etc/xrdp/rsakeys.ini /etc/xrdp/rsakeys.ini /etc/xrdp/*.pem |
VOLUME [/etc /home] |
EXPOSE 3389/tcp 9001/tcp |
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] |
CMD ["supervisord"] |
SHELL [/bin/bash -o pipefail -c] |
RUN /bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends openbox wget firefox && echo "openbox-session" > /etc/skel/.Xclients && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |