kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
09ba7b3c3d
commit
7571bcd6c2
|
@ -10,24 +10,24 @@ Expects to run as part of the LSIO CI process. Not for public consumption.
|
|||
|
||||
## Running against remote project
|
||||
|
||||
```shell
|
||||
```bash
|
||||
docker run --rm \
|
||||
-e CONTAINER_NAME=${CONTAINER_NAME} \
|
||||
-v ${TEMPDIR}:/ansible/jenkins \
|
||||
ghcr.io/linuxserver/jenkins-builder:latest
|
||||
lscr.io/linuxserver/jenkins-builder:latest
|
||||
```
|
||||
|
||||
## Running against local project
|
||||
|
||||
If you need to test functionality just navigate to the folder with the jenkins-vars.yml and run:
|
||||
|
||||
```shell
|
||||
docker pull ghcr.io/linuxserver/jenkins-builder:latest && \
|
||||
```bash
|
||||
docker pull lscr.io/linuxserver/jenkins-builder:latest && \
|
||||
docker run --rm \
|
||||
-v $(pwd):/tmp \
|
||||
-e LOCAL=true \
|
||||
-e PUID=$(id -u) -e PGID=$(id -g) \
|
||||
ghcr.io/linuxserver/jenkins-builder:latest && \
|
||||
lscr.io/linuxserver/jenkins-builder:latest && \
|
||||
rm -rf .jenkins-external
|
||||
```
|
||||
|
||||
|
@ -37,18 +37,18 @@ Newly generated files (including `README.md`, `Jenkinsfile`, issue templates, et
|
|||
|
||||
If you want to make local modifications to these images for development purposes or just to customize the logic:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
git clone https://github.com/linuxserver/docker-jenkins-builder.git
|
||||
cd docker-jenkins-builder
|
||||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t ghcr.io/linuxserver/jenkins-builder:latest .
|
||||
-t lscr.io/linuxserver/jenkins-builder:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
|
||||
```shell
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue