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.
changes/84/7384/1
Harald Welte 6 years ago
parent 32497cf0a1
commit baa18dd4ed

@ -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

Loading…
Cancel
Save