summaryrefslogtreecommitdiff
path: root/image-clang32.yaml
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-07-20 14:45:16 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-07-20 14:45:16 -0500
commit9ca88b0043618caadb7475387c5326da0449b58d (patch)
tree8400e0b48f66ae675fc7164de131abe5b4e75c82 /image-clang32.yaml
parenta694fc3ed72c1d66f9fd07f4ece4a707b011216c (diff)
downloadimage-clang32-9ca88b0043618caadb7475387c5326da0449b58d.tar.gz
image-clang32-9ca88b0043618caadb7475387c5326da0449b58d.tar.bz2
image-clang32-9ca88b0043618caadb7475387c5326da0449b58d.zip
Add distrobuilder yaml
Diffstat (limited to 'image-clang32.yaml')
-rw-r--r--image-clang32.yaml60
1 files changed, 60 insertions, 0 deletions
diff --git a/image-clang32.yaml b/image-clang32.yaml
new file mode 100644
index 0000000..6558784
--- /dev/null
+++ b/image-clang32.yaml
@@ -0,0 +1,60 @@
1image:
2 distribution: alpinelinux
3 description: Build image for lua4.win
4 architecture: i386
5
6source:
7 downloader: alpinelinux-http
8 same_as: 3.12
9 url: http://dl-cdn.alpinelinux.org/alpine
10
11files:
12- path: /etc/hostname
13 generator: hostname
14
15- path: /etc/hosts
16 generator: hosts
17
18- path: /etc/machine-id
19 generator: dump
20
21- path: /etc/user/profile
22 generator: copy
23 source: /etc/profile
24
25- path: /etc/netplan/10-lxc.yaml
26 generator: dump
27 content: |-
28 network:
29 version: 2
30 ethernets:
31 eth0:
32 dhcp4: true
33 dhcp-identifier: mac
34
35packages:
36 manager: apk
37 update: true
38 cleanup: true
39 sets:
40 - packages:
41 - gcc
42 - alpine-base
43 - neovim
44 action: install
45
46actions:
47- trigger: post-update
48 action: |-
49 #!/bin/sh
50 set -eux
51 systemctl enable systemd-networkd
52- trigger: post-packages
53 action: |-
54 #!/bin/sh
55 set -eux
56 locale-gen en_US.UTF-8
57 update-locale LANG=en_US.UTF-8
58
59mappings:
60 architecture_map: