osmith submitted this change.
osmo-uecups-master: remove useradd
debian-bookworm-build already adds a user (as it is a combination of
debian-bullseye-build and debian-bullseye-jenkins, and the latter did
it). Remove the additional useradd in osmo-uecups-master to fix:
useradd: UID 1000 is not unique
I've looked through related configs and scripts and the username is not
hardcoded there.
Related: OS#6057
Change-Id: I28f2a110167f550e1b38332ed4e7124b9e76f312
---
M osmo-uecups-master/Dockerfile
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/osmo-uecups-master/Dockerfile b/osmo-uecups-master/Dockerfile
index 7841b32..7f30155 100644
--- a/osmo-uecups-master/Dockerfile
+++ b/osmo-uecups-master/Dockerfile
@@ -34,8 +34,6 @@
COPY osmo-uecups-daemon.cfg /data/osmo-uecups-daemon.cfg
-RUN useradd -m --uid=1000 osmocom
-
WORKDIR /data
CMD ["/bin/sh", "-c", "/usr/local/bin/osmo-uecups-daemon -c /data/osmo-uecups-daemon.cfg >/data/osmo-uecups-daemon.log 2>&1"]
To view, visit change 33773. To unsubscribe, or for help writing mail filters, visit settings.