mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1202] [MERGED] feat: non root user container #1834
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1202
Author: @ChristopherHX
Created: 6/6/2022
Status: ✅ Merged
Merged: 6/20/2022
Merged by: @cplee
Base:
master← Head:christopherhx-non-root-container📝 Commits (10+)
845c32bfeat: non root user container73dcc68Also chown WorkingDir44a7db7.250dfd4.c58c99cUpdate docker_run.go7b1fa81Add Test2449215Update runner_test.go9933d4dMerge branch 'master' into christopherhx-non-root-container98ecf9fUpdate docker_run.go3513b4fApply suggestions from code review📊 Changes
4 files changed (+71 additions, -6 deletions)
View changed files
📝
pkg/container/docker_run.go(+62 -2)📝
pkg/container/file_collector.go(+8 -3)📝
pkg/runner/run_context.go(+0 -1)📝
pkg/runner/runner_test.go(+1 -0)📄 Description
What is changed
idposix tool after starting any container to get the current container uid / gid, otherwise assume root without failing, fails for docker actionsCloses #398
Closes #935
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.