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.
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
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