Skip to content
Snippets Groups Projects
Commit 24060057 authored by Marcin Sobczyk's avatar Marcin Sobczyk
Browse files

Add sudo to docker-builder image

parent 34b03155
No related branches found
No related tags found
1 merge request!7Add sudo to docker-builder image for commands cp and rm
Pipeline #66142 passed
FROM docker:20.10.21 AS docker-builder
RUN apk add --no-cache bash git ca-certificates curl
RUN adduser -D hived
RUN apk add --no-cache bash git ca-certificates curl sudo
RUN adduser -D hived && echo "hived ALL=(ALL) NOPASSWD:SETENV: /bin/cp,/bin/rm" >> /etc/sudoers
USER hived
WORKDIR /home/hived
\ No newline at end of file
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