Skip to content

Commit f91738a

Browse files
committed
Remove ubuntu user added in 24.04 by default
1 parent ba9e729 commit f91738a

File tree

4 files changed

+3
-0
lines changed

4 files changed

+3
-0
lines changed

Dockerfile.ubuntu-2404

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ENV GID=1001
2626

2727
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2828

29+
## Remove ubuntu user added in 24.04 by default
30+
RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
31+
2932
## Install Base LinuxGSM Requirements
3033
RUN echo "**** Install Base LinuxGSM Requirements ****" \
3134
&& apt-get update \

entrypoint-healthcheck.sh

100755100644
File mode changed.

entrypoint-user.sh

100755100644
File mode changed.

entrypoint.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)