Added gitea CT
This commit is contained in:
@@ -256,6 +256,21 @@ files:
|
||||
# Stuff to do before rebooting
|
||||
::shutdown:/sbin/openrc shutdown
|
||||
|
||||
#Readme for FirstRunScript
|
||||
- path: /root/ReadMe
|
||||
generator: dump
|
||||
content: |-
|
||||
To setup this container edit and run the FirstRun script `/opt/Setup/Scripts/FirstRun.sh`
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
#FileForGitea
|
||||
- path: /opt/Setup
|
||||
generator: copy
|
||||
source: CT-Files/gitea
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
packages:
|
||||
manager: apk
|
||||
update: true
|
||||
@@ -271,6 +286,13 @@ packages:
|
||||
action: install
|
||||
variants:
|
||||
- default
|
||||
- packages:
|
||||
- py3-pip
|
||||
- xz
|
||||
- git
|
||||
action: install
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
repositories:
|
||||
- name: /etc/apk/repositories
|
||||
@@ -307,5 +329,14 @@ actions:
|
||||
echo "Europe/Amsterdam" > /etc/timezone
|
||||
ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
|
||||
|
||||
#Run provided init script
|
||||
- trigger: post-files
|
||||
action: |-
|
||||
#!/bin/sh
|
||||
ash /opt/Setup/Scripts/Init.sh
|
||||
rm /opt/Setup/Scripts/Init.sh
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
mappings:
|
||||
architecture_map: alpinelinux
|
||||
|
||||
Reference in New Issue
Block a user