danielguerra69 / ubuntu-xrdp

Docker fully implemented Multi User xrdp with xorgxrdp and pulseaudio on Ubuntu 16.04/18.04
MIT License
251 stars 141 forks source link

Ability to wget deb file and install it #48

Closed MoonstarCoding closed 3 years ago

MoonstarCoding commented 3 years ago

Is it possible to add something similar to what you have for sudo packages, but for .deb packages?

Something similar to:

for pkg in DPKG; do
    wget -O /tmp/Downloads/ "$pkg"
done

for pkg in `ls /tmp/Downloads/`; do
    dpkg -i "$pkg"
done

That way, we can have persistent installs of Discord and other things if the system accidentally reboots? Not an issue really, but would be nice. I am not that savvy with docker, so I couldn't really answer this myself.

danielguerra69 commented 3 years ago

You can add your own services in /etc/supervisor/conf.d

danielguerra69 commented 3 years ago

See the Readme Installing additional packages during build

The Dockerfile has support for the build argument ADDITIONAL_PACKAGES to install additional packages during build. Either pass it with --build-arg during docker build or add it as args in your docker-compose.override.yml and run docker-compose build.