Merge pull request #17660 from andreineculau/patch-1
This commit is contained in:
commit
b83160197e
@ -4,9 +4,11 @@ ARG version=22.04
|
|||||||
FROM ubuntu:"${version}"
|
FROM ubuntu:"${version}"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Set the user ID to the default value of 1001 since different ubuntu
|
# Deterministic UID (first user). Helps with docker build cache
|
||||||
# versions yield to different user IDs with `useradd`
|
ENV USER_ID=1000
|
||||||
ENV USER_ID=1001
|
# Delete the default ubuntu user & group UID=1000 GID=1000 in Ubuntu 23.04+
|
||||||
|
# that conflicts with the linuxbrew user
|
||||||
|
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu; true
|
||||||
|
|
||||||
# We don't want to manually pin versions, happy to use whatever
|
# We don't want to manually pin versions, happy to use whatever
|
||||||
# Ubuntu thinks is best.
|
# Ubuntu thinks is best.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user