Skip to content
Snippets Groups Projects
Verified Commit eb487d93 authored by Konrad Botor's avatar Konrad Botor
Browse files

Enabled sudo in docker-builder image for all commands

parent 8cb1c031
No related branches found
No related tags found
1 merge request!41Updates for *docker-builder* and *benchmark-test-runner* images
Pipeline #87777 passed
......@@ -5,8 +5,7 @@ RUN apk add --no-cache bash git coreutils ca-certificates curl sudo
RUN <<EOF
set -e
adduser -D hived
echo "hived ALL=(ALL) NOPASSWD: SETENV: /bin/cp" >> /etc/sudoers
echo "hived ALL=(ALL) NOPASSWD: SETENV: /bin/rm" >> /etc/sudoers
echo "hived ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
EOF
USER hived
WORKDIR /home/hived
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment