Third party sources to DAB

Oer2001

Member
Jul 12, 2011
43
0
6
Hi,

I want to preinstall third party .deb packages to DAB. For example the
http://ppa.launchpad.net/webupd8team/java/ubuntu for oracle java 8.

I tried to add the source to the Makefile. But this did not work. I think there was an error because of the missing public pgp key for the sources.

Code:
command 'lxc-attach -n 282b725e-0bd0-40de-8abe-036bfc862abd --rcfile /var/lib/vz/template/cache/ubuntu-16.04/config --clear-env -- defenv dpkg --force-depends --force-confold --install /oracle-java8-installer_8u121-1~webupd8~2_all.deb /binutils_2.26.1-1ubuntu1~16.04.3_amd64.deb /wget_1.17.1-1ubuntu1.2_amd64.deb' failed with exit code 1

What is the usual way to do such things?
Is it better to start a custom init script during the first container boot like this one?

Thanks for help.
Regards,
Oer
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!