debian-jessie-buildslave: Give 'build' user sudo rights

This is of course questionable, as we could simply install into some
PREFIX other than /usr/local.
This commit is contained in:
Harald Welte 2017-09-06 16:56:16 +02:00
parent 32497cf0a1
commit baa18dd4ed
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ RUN dpkg --add-architecture i386 && \
unzip && \
apt-get clean
RUN useradd --uid=1000 build && \
RUN useradd -m --uid=1000 build && \
echo "build ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/build && \
chmod 0440 /etc/sudoers.d/build && \
mkdir /build && \
chown build:build /build