Quellcode wird nun beim Build geladen
This commit is contained in:
1 parent
a981953c9a
commit
a36abb12ff
4 files changed
+31
-13
No files matched your search
@@ -154,9 +154,6 @@ docker pull git.techniverse.net/scriptos/vdo-ninja:v29.0
|
||||
Das Image kann auch lokal gebaut werden:
|
||||
|
||||
```bash
|
||||
# VDO.Ninja Quellcode klonen
|
||||
git clone --depth 1 https://github.com/steveseguin/vdo.ninja vdo-ninja-source
|
||||
|
||||
# Docker Image bauen
|
||||
docker build -t vdo-ninja:local .
|
||||
|
||||
@@ -164,6 +161,17 @@ docker build -t vdo-ninja:local .
|
||||
docker run -d -p 8080:80 --name vdo-ninja vdo-ninja:local
|
||||
```
|
||||
|
||||
Der VDO.Ninja-Quellcode wird beim Build automatisch aus dem Upstream-Repository geladen. Ohne weitere Angaben wird der Default-Branch des Upstream-Repositories verwendet.
|
||||
|
||||
Optional kann ein bestimmter Branch oder Tag gebaut werden:
|
||||
|
||||
```bash
|
||||
docker build \
|
||||
--build-arg VDO_NINJA_REF=v29.0 \
|
||||
-t vdo-ninja:v29.0 \
|
||||
.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🛡️ Secrets & Variablen
|
||||
@@ -225,4 +233,4 @@ Dieses Repository (Dockerfile, Workflow, Konfiguration) steht unter der [MIT-Liz
|
||||
|
||||
<p align="center">
|
||||
<img src="https://assets.techniverse.net/f1/logos/small/license.png" alt="License" width="15" height="15"> <a href="./LICENSE">License</a> | <img src="https://assets.techniverse.net/f1/logos/small/matrix2.svg" alt="Matrix" width="15" height="15"> <a href="https://matrix.to/#/#community:techniverse.net">Matrix</a> | <img src="https://assets.techniverse.net/f1/logos/small/mastodon2.svg" alt="Mastodon" width="15" height="15"> <a href="https://social.techniverse.net/@donnerwolke">Mastodon</a>
|
||||
</p>
|
||||
</p>
|
||||
Reference in new issue
Block a user