Hello,
I migrate my Installation into Docker but now i need ffmpeg and youtube-dl for my cloud. Has anxone an idea to integrate this feature?
Hello,
I migrate my Installation into Docker but now i need ffmpeg and youtube-dl for my cloud. Has anxone an idea to integrate this feature?
you have to edit the dockerfile of your image and add the feature you need. and build your own image.
how did you setup your environment? docker-compose?
Yes its Docker-compose
you have to get the dockerfile of your image. e.g. from here https://github.com/nextcloud/docker/tree/master/16.0 and add the installation of ffmpeg or create a new dockerfile starting with FROM nextcloud:<your-current-image>
and then you have to change the image name in your docker-compose file so that it will be build local.
Sorry to roll up this old problem but it’s still existing for me. My dockerfile:
FROM ownyourbits/nextcloudpi-arm64:latest
RUN apt-get update
RUN apt-get install software-properties-common
RUN add-apt-repository universe && apt upgrade
RUN apt-get install ffmpeg
But it get various errors. While apt-get update already:
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org'
And if I can skip this through cache the next step just stops it:
E: Unable to locate package software-properties-common
What the heck is this???
Hello. With me helped the following.
sudo nano /etc/docker/daemon.json
Content of the file:
{
"dns": ["192.168.1.1", "8.8.8.8"]
}
… and then
sudo systemctl restart docker
I hope it helps.