-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yaml
92 lines (78 loc) · 1.93 KB
/
manifest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
name: manman
provider:
name: docker
dockerfile:
- USER manman
- WORKDIR /srv/manman
- CMD script/server
- EXPOSE 3000
labels:
name: "manman-{system.release}-{system.architecture}-{%y}{%m}{%d}"
description: "{system.release} container for legacy manman"
bootstrapper:
workspace: /opt/bootstrap-vz
variant: minbase
system:
release: squeeze
architecture: amd64
bootloader: none
charmap: UTF-8
hostname: manman
locale: en_US
timezone: Europe/Vienna
volume:
backing: folder
partitions:
type: none
root:
filesystem: ext4
size: 1GiB
packages:
components: [main, contrib, non-free]
mirror: http://debian.ffgraz.net/archive
apt.conf.d:
00SecurityOutOfTheWindow: >-
Acquire::AllowInsecureRepositories "true";
Acquire::AllowDowngradeToInsecureRepositories "true";
APT::Get::AllowUnauthenticated "true";
sources:
main:
- deb [check-valid-until=no] http://debian.ffgraz.net/archive squeeze-lts main contrib non-free
install:
- adduser
- libmysqlclient16
- libmysql-ruby1.8
- msmtp-mta
- ruby
- rubygems
plugins:
file_copy:
mkdirs:
- dir: /var/run/mysqld
files:
- src: .
dst: /srv/manman
- src: gemrc
dst: /etc/
- src: msmtprc
dst: /etc/
commands:
commands:
- [rm, -rf, '{root}/srv/manman/.git']
- [rm, -rf, '{root}/srv/manman/.vagrant']
- [rm, -rf, '{root}/srv/manman/manman.docker.tar']
- [chroot, '{root}', gem, install, -v=0.8.7, rake]
- [chroot, '{root}', gem, install, -v=1.2.6, rails]
- [chroot, '{root}', adduser, --system, --group,
--home, /var/lib/manman, manman]
- [chroot, '{root}', chown, 'manman:manman', -Rv, '/srv/manman']
minimize_size:
apt:
autoclean: true
languages: [none]
gzip_indexes: true
autoremove_suggests: true
dpkg:
locales: []
exclude_docs: true