Maybe use of Debian image would be better because lighter ?
Just an idea... Don't hesitate to tell me if I'm wrong and why. Also, I removed "unrar" package as it is not available on default Debian repositories ; if it was necessary (I didn't see where) but "tar" command could be use without needing any package installation.
Don't hesitate to tell me if I'm wrong and why.
This change is unlikely to go forward because if we change the base, most likely it will be to alpine (something we have investigated but it's in a queue behind a bunch of other things).
I removed "unrar" package as it is not available on default Debian repositories ; if it was necessary (I didn't see where) but "tar" command could be use without needing any package installation.
See #33 (can be found by using blame on the Dockerfile and examining the commit. It links to that PR).
Ok, thanks for your answer ! It could be a temporary improvment before switching to Alpine. I saw that unrar could be installed on Debian by activating non-free packages : https://packages.debian.org/bullseye/unrar Have a nice day !
Hi,
Just a quick question: Why are you using apt-get instead of apt? Is it just preference, or? I dont see the reason to use the old/outdated apt-get anymore, specially on fresh distros.
Hi,
Just a quick question: Why are you using apt-get instead of apt? Is it just preference, or? I dont see the reason to use the old/outdated apt-get anymore, specially on fresh distros.
Hello,
"old/outdated apt-get" ? Sorry but I think you're wrong. apt is using apt-get and is just the recommended command for interactive use by administrators, not for use in shell scripts. That's why, when you use apt in a bash script you get the following message :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Sorry, you are right. I never really looked into the differences and whatnot. I was coming from ansible, that has a force option to use apt-get, instead of apt. I guess the ansible package actually prefers apt for some reason. In any case, I've yet to run into trouble.