Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Common CI Configuration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Common CI Configuration
Merge requests
!7
Add sudo to docker-builder image for commands cp and rm
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Add sudo to docker-builder image for commands cp and rm
msobczyk/modify_docker_builder_image
into
develop
Overview
1
Commits
1
Pipelines
2
Changes
1
Closed
Marcin Sobczyk
requested to merge
msobczyk/modify_docker_builder_image
into
develop
1 year ago
Overview
1
Commits
1
Pipelines
2
Changes
1
Expand
This allows to copy/remove data in cache
0
0
Merge request reports
Compare
develop
version 1
db6f6fb0
1 year ago
develop (base)
and
latest version
latest version
24060057
1 commit,
1 year ago
version 1
db6f6fb0
1 commit,
1 year ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Dockerfile.docker-builder
+
2
−
2
Options
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
Loading