Skip to content

Commit

Permalink
keep-id
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-k0 committed Jun 21, 2024
1 parent 3a3f442 commit 90cd4da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ENV ImageOS=ubuntu24

# 'gpg-agent' and 'software-properties-common' are needed for the 'add-apt-repository' command that follows
RUN apt update -y \
&& apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common podman podman-docker \
&& apt install -y --no-install-recommends sudo lsb-release gpg-agent software-properties-common podman podman-docker uidmap \
&& rm -rf /var/lib/apt/lists/*

# Configure git-core/ppa based on guidance here: https://git-scm.com/download/linux
Expand Down
2 changes: 1 addition & 1 deletion releaseVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.317.0-podman3
2.317.0-podman4
2 changes: 1 addition & 1 deletion src/Runner.Worker/Container/DockerCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public async Task<string> DockerCreate(IExecutionContext context, ContainerInfo
// TODO: pull opts from env
dockerOptions.Add("--privileged");
dockerOptions.Add("--cgroupns host");
dockerOptions.Add("--userns host");
dockerOptions.Add("--userns keep-id");
if (!string.IsNullOrEmpty(container.ContainerWorkDirectory))
{
dockerOptions.Add($"--workdir {container.ContainerWorkDirectory}");
Expand Down
2 changes: 1 addition & 1 deletion src/runnerversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.317.0-podman3
2.317.0-podman4

0 comments on commit 90cd4da

Please sign in to comment.