-
I start OneDev on an ubuntu box via docker container, add a new project, and configure a ci job running a simple command on alpine image with the default job executor. And things work fine.
Please tell me the detailed reproduing steps at your side.
-
Docker Host: MacOS Docker Compose:
name: onedev services: server: container_name: onedev restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - ./onedev:/opt/onedev ports: - 3000:6610 - 222:6611 image: 1dev/serverDocker Image Running On Pipeline:
cimg/android:2023.12 -
Turns out that the container "cimg/android:2023.12" runs as non-root user which OneDev is not suported yet.
There is an improvement request for this: #899 You may watch it to get notified when there are any progresses.
-
Okay, thank you so much for your help!
-
Previous Value Current Value Open
Closed
-
@juliette Build #4785 is able to run container with non-root user. For image
cimg/android:2023.12, you may specify propertyrun asas1001:1002in more settings of the command step.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
9.4.8
|
| Labels |
No labels
|
Hello, I have OneDev running through Docker with access to the Docker socket. But whenever I try to build with an external CI image I get the error of
cp: cannot stat '/root/auth-info/.': Permission deniedin the job pipeline for the step that runs a command through a Docker image. Is there anything I can do? This also happens when I'm running an agent outside of OneDev.