Re:Faasd – Lightweight Serverless for Raspberry Pi
by dheera on Saturday October 24, 2020 @11:09AM
(#24879655)
Why not just:
sudo apt install docker.io
And for more up-to-date versions, why doesn't Docker create a ppa? At most it should be something of the sort of: sudo apt-add-repository ppa:docker/docker
sudo apt install docker
That's how these things were intended to work.
Re:Faasd – Lightweight Serverless for Raspberry Pi
by paxswill on Saturday October 24, 2020 @11:51AM
(#24879919)
PPA's are just Ubuntu's way to make creating APT repositories easier. Those steps above are the longer way of achieving the same result without relying on Canonical's infrastructure. The same instructions can also be used with minor changes to also work on Debian and Raspbian (and could probably work on most other Debian-based distros).
Those steps above are covering all the bases for Debian-based distros, adding the signing keys Docker uses for their packages, and then finally inst
Re:Faasd – Lightweight Serverless for Raspberry Pi
by sp332 on Saturday October 24, 2020 @11:34AM
(#24879806)
You can just download the .deb files from https://download.docker.com/linux/ubuntu/dists/focal/pool/st... and install them. No need to add another repo.
Re:Faasd – Lightweight Serverless for Raspberry Pi
by pqb on Saturday October 24, 2020 @12:19PM
(#24880088)
Erm, no. I think I haven't been clear in my first post. I am not asking about "how to install apt package", but how to provide a universal recipe to provide 3rd-party software as handy installation script. What you suggest is how to download and install few debs from a website. When I writing such script, I don't trust the host name "just like that" as you suggest. It can be malformed or point totally to different host that we would expect.
Even then, what it actually changes from the script I have already suggested in previous post? It is still about downloading two files (signature and packaged application) and install it (e.g. via dpkg --install).