diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-14 23:14:16 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-09-14 23:14:19 +0200 |
commit | 928c1f505b95bb4b693b9e8eac5c73185d67515f (patch) | |
tree | addfb22db35c6ea49192f0e1d36c94489d09ddfe /docker | |
parent | fd737172f1068870fe1ededbe9b2ed4a86663acd (diff) | |
download | vyos-build-928c1f505b95bb4b693b9e8eac5c73185d67515f.tar.gz vyos-build-928c1f505b95bb4b693b9e8eac5c73185d67515f.zip |
Docker: T861: fix warning for UID_MIN/UID_MAC out of range
Rise upper limit for UID when working in an Active Direcotry integrated
environment. This solves the warning: vyos_bld's uid 1632000007 outside of the
UID_MIN 1000 and UID_MAX 60000 range.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 40b2067d..5cc8744e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -372,6 +372,11 @@ RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \ RUN echo "$(opam env --root=/opt/opam --set-root)" >> /etc/skel/.bashrc && \ echo "export PATH=/opt/go/bin:\$PATH" >> /etc/skel/.bashrc +# Rise upper limit for UID when working in an Active Direcotry integrated +# environment. This solves the warning: vyos_bld's uid 1632000007 outside of the +# UID_MIN 1000 and UID_MAX 60000 range. +RUN sed -i 's/UID_MAX\t\t\t60000/UID_MAX\t\t\t2000000000/g' /etc/login.defs + # Cleanup RUN rm -rf /tmp/* |