Skip to content
Snippets Groups Projects
Commit db6f6fb0 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
No related merge requests found
Pipeline #66094 passed
FROM docker:20.10.21 AS docker-builder FROM docker:20.10.21 AS docker-builder
RUN apk add --no-cache bash git ca-certificates curl RUN apk add --no-cache bash git ca-certificates curl sudo
RUN adduser -D hived RUN adduser -D hived && echo "hived ALL=(ALL) NOPASSWD: /bin/cp,/bin/rm" >> /etc/sudoers
USER hived USER hived
WORKDIR /home/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