Ship the customizations as a Docker image

The Docker image is used in the initialization process, to copy
everything in the custom folder to the Gitea data dir (mounted as a
persistent volume). It is built using Packer and is based on the busybox
image, so we can use its minimalist shell system to copy files and set
permissions
This commit is contained in:
Greg Karékinian
2019-04-01 17:01:16 +02:00
parent 8050126d2d
commit e0741b4438
7 changed files with 55 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# fail fast
set -e
cd packer/
packer build custom.json
cd -