• Hector Sanjuan's avatar
    Dockerfiles: do not set gecos field on user add. Set group. · b57539c1
    Hector Sanjuan authored
    I think this was unintended: useradd -g sets the gecos field to "100".
    Probably we meant to use -G to set the ipfs user group.
    
    -G does not take gids, so it needs to be set by name.
    The group with gid 100 is "users".
    
    Additionally, since we install the ca-certificates package
    (which is already installed), at least we should attempt to update it
    to get the latest version of certs.
    
    License: MIT
    Signed-off-by: default avatarHector Sanjuan <hector@protocol.ai>
    b57539c1
Dockerfile 2.63 KB