Szerző: Tom Dátum: Címzett: Olaf Meeuwissen CC: Lorenz, dng Tárgy: Re: [DNG] help with docker - running entrypoint as root
> On 8 Jul 2024, at 21:43, Olaf Meeuwissen via Dng <dng@???> wrote:
>
> Hi Lorenz,
>
> I saw that Nick's reply already solved your issues but wanted to comment
> on something not directly related to that.
>
> Lorenz via Dng <dng@???> writes:
>
>> [...]
>> I'm using the follwing dockerfile:
>>
>> --------------------------------
>> # dockerfile for runit-services testsuite
>> #
>> FROM debian:sid
>> MAINTAINER plorenzo@???
>>
>> RUN apt-get update -q -q && apt-get upgrade --yes
>
> Rather that running apt-get upgrade (which is generally advised against
> IIRC), I would rebuild your runit-testsuite image regularly with --pull.
> The debian:sid images are updated every three or four weeks by the looks
> of the Docker Hub tags for sid.
It’s no longer advised to not run apt-get upgrade in Dockerfiles.