kopia lustrzana https://github.com/linuxserver/docker-documentation
32 wiersze
862 B
Markdown
Executable File
32 wiersze
862 B
Markdown
Executable File
---
|
|
title: build-agent
|
|
---
|
|
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
|
<!-- Please read https://github.com/linuxserver/docker-build-agent/blob/main/.github/CONTRIBUTING.md --># linuxserver/build-agent
|
|
|
|
Used as part of the LSIO build process. Not for public consumption.
|
|
|
|
## Running
|
|
|
|
```yml
|
|
services:
|
|
build-agent:
|
|
image: lscr.io/linuxserver/build-agent:latest
|
|
privileged: true
|
|
container_name: build-agent
|
|
environment:
|
|
- TZ=London/Europe
|
|
- 'PUBLIC_KEY=<jenkins public key>'
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- ./docker-data:/config
|
|
ports:
|
|
- 2222:2222
|
|
restart: unless-stopped
|
|
```
|
|
|
|
For x86_64 machines, run `docker run --rm --privileged multiarch/qemu-user-static --reset -p yes` on the host to enable qemu before bringing any build agent containers up.
|
|
|
|
- { date: "30.04.23:", desc: "Initial Release." }
|